aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/c-exp.y4
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index aa1a136..c4437a8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -102,6 +102,10 @@
8-byte wide watchpoints.
(i386_show_dr): Debug message format string change.
+2001-09-21 Michael Snyder <msnyder@redhat.com>
+
+ * c-exp.y (typebase): Accept (signed long long) as a type expr.
+
2001-09-20 Kevin Buettner <kevinb@redhat.com>
* solib-svr4.c (fetch_link_map_offsets): Add comment.
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index 226fb81..4b72377 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -812,6 +812,10 @@ typebase /* Implements (approximately): (type-qualifier)* type-specifier */
{ $$ = builtin_type_unsigned_long_long; }
| UNSIGNED LONG LONG INT_KEYWORD
{ $$ = builtin_type_unsigned_long_long; }
+ | SIGNED_KEYWORD LONG LONG
+ { $$ = lookup_signed_typename ("long long"); }
+ | SIGNED_KEYWORD LONG LONG INT_KEYWORD
+ { $$ = lookup_signed_typename ("long long"); }
| SHORT INT_KEYWORD
{ $$ = builtin_type_short; }
| UNSIGNED SHORT INT_KEYWORD