diff options
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/p-typeprint.c | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index eb9d7494b80..b4d4a45c052 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Mon Jul 10 15:02:35 2000 Andrew Cagney <cagney@b1.cygnus.com> + + From 2000-07-05 Pierre Muller <muller@ics.u-strasbg.fr>: + * p-typeprint.c (pascal_type_print_method_args): Add braces around + isdigit after while keyword. + 2000-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com> * TODO: Remove readline 4.1 import item. diff --git a/gdb/p-typeprint.c b/gdb/p-typeprint.c index a2cfadb4d40..d8ea0d4b68c 100644 --- a/gdb/p-typeprint.c +++ b/gdb/p-typeprint.c @@ -170,11 +170,9 @@ pascal_type_print_method_args (physname, methodname, stream) char *argname; fputs_filtered (" (", stream); /* we must demangle this */ - while isdigit - (physname[0]) + while (isdigit (physname[0])) { - while isdigit - (physname[len]) + while (isdigit (physname[len])) { len++; } |