diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/buildsym.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c54d770..179dfe1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Thu Dec 5 10:51:05 1991 Fred Fish (fnf at cygnus.com) + + * buildsym.c (define_symbol): Supply missing parenthesis. + Thu Dec 5 03:34:21 1991 John Gilmore (gnu at cygnus.com) * coredep.c (fetch_core_registers): Fencepost error. Fixed by diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 4f1fc24..e10d5c0 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -1266,7 +1266,7 @@ define_symbol (valu, string, desc, type) /* If PCC says a parameter is a short or a char, it is really an int. */ if (TYPE_LENGTH (SYMBOL_TYPE (sym)) < TYPE_LENGTH (builtin_type_int) - && TYPE_CODE (SYMBOL_TYPE (sym) == TYPE_CODE_INT) { + && TYPE_CODE (SYMBOL_TYPE (sym)) == TYPE_CODE_INT) { SYMBOL_TYPE (sym) = TYPE_UNSIGNED (SYMBOL_TYPE (sym))? builtin_type_unsigned_int: builtin_type_int; |