diff options
author | Pierre Muller <muller@ics.u-strasbg.fr> | 2012-03-16 11:10:04 +0000 |
---|---|---|
committer | Pierre Muller <muller@ics.u-strasbg.fr> | 2012-03-16 11:10:04 +0000 |
commit | 7f8076204b091192cb2050f5aa80cdf4c45a7926 (patch) | |
tree | 229955fb4d258218c3cadbe504cbe3d322a88b16 /gdb/p-typeprint.c | |
parent | cc89c790f5fe692768ba246325c71b7e58f496f6 (diff) | |
download | gdb-7f8076204b091192cb2050f5aa80cdf4c45a7926.tar.gz |
* p-typeprint.c (pascal_type_print_method_args):
Fix display of parameter of methods.
Diffstat (limited to 'gdb/p-typeprint.c')
-rw-r--r-- | gdb/p-typeprint.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/p-typeprint.c b/gdb/p-typeprint.c index ab82d900391..bc24495c149 100644 --- a/gdb/p-typeprint.c +++ b/gdb/p-typeprint.c @@ -183,8 +183,7 @@ pascal_type_print_method_args (const char *physname, const char *methodname, physname += len; for (j = 0; j < i; ++j) - fputc_filtered (physname[i], stream); - fputs_filtered (physname, stream); + fputc_filtered (physname[j], stream); physname += i; if (physname[0] != 0) |