diff options
author | Michael Snyder <msnyder@vmware.com> | 2001-09-27 21:14:48 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2001-09-27 21:14:48 +0000 |
commit | 3e9986d2216e847a63ccd55fea53c381b8f5afa7 (patch) | |
tree | 6017ea1beb5ed982253d2572da41a2b4dd0948ba /gdb | |
parent | fa9f0e33b3c0510267d7a41f2f4ee72ba452c37e (diff) | |
download | gdb-3e9986d2216e847a63ccd55fea53c381b8f5afa7.zip gdb-3e9986d2216e847a63ccd55fea53c381b8f5afa7.tar.gz gdb-3e9986d2216e847a63ccd55fea53c381b8f5afa7.tar.bz2 |
2001-09-21 Michael Snyder <msnyder@redhat.com>
* c-exp.y (typebase): Accept (signed long long) as a type expr.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/c-exp.y | 4 |
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 |