diff options
author | Pierre Muller <muller@sourceware.org> | 2012-03-16 11:10:04 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2012-03-16 11:10:04 +0000 |
commit | d0e7e15ad6672ebf5486abaa42178b566326a864 (patch) | |
tree | 3fd7690fca91c1a649ac25061a146f2e12858b97 /gdb | |
parent | 3d3546540f5462a49377536a249ed47dabf218f6 (diff) | |
download | gdb-d0e7e15ad6672ebf5486abaa42178b566326a864.zip gdb-d0e7e15ad6672ebf5486abaa42178b566326a864.tar.gz gdb-d0e7e15ad6672ebf5486abaa42178b566326a864.tar.bz2 |
* p-typeprint.c (pascal_type_print_method_args):
Fix display of parameter of methods.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/p-typeprint.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ebe8683..3d0f837 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2012-03-16 Pierre Muller <muller@ics.u-strasbg.fr> + * p-typeprint.c (pascal_type_print_method_args): + Fix display of parameter of methods. + +2012-03-16 Pierre Muller <muller@ics.u-strasbg.fr> + * amd64-windows-nat.c (_initialize_amd64_windows_nat): Add missing prototype. diff --git a/gdb/p-typeprint.c b/gdb/p-typeprint.c index ab82d90..bc24495 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) |