aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-07-10 05:09:51 +0000
committerAndrew Cagney <cagney@redhat.com>2000-07-10 05:09:51 +0000
commit8ce17b9a340c36520715e311f0f3738b9c093fa3 (patch)
treec80e619834f2fa0252dfbfdc12f7316da354f40b
parent3df7b4e2d2147801fdfd6d7bf5080b5c206745cd (diff)
downloadgdb-8ce17b9a340c36520715e311f0f3738b9c093fa3.zip
gdb-8ce17b9a340c36520715e311f0f3738b9c093fa3.tar.gz
gdb-8ce17b9a340c36520715e311f0f3738b9c093fa3.tar.bz2
From Pierre Muller <muller@ics.u-strasbg.fr>:
* p-typeprint.c (pascal_type_print_method_args): Add braces around isdigit after while keyword.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/p-typeprint.c6
2 files changed, 8 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index eb9d749..b4d4a45 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 a2cfadb..d8ea0d4 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++;
}