aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-exp.y
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2001-09-27 21:14:48 +0000
committerMichael Snyder <msnyder@vmware.com>2001-09-27 21:14:48 +0000
commit3e9986d2216e847a63ccd55fea53c381b8f5afa7 (patch)
tree6017ea1beb5ed982253d2572da41a2b4dd0948ba /gdb/c-exp.y
parentfa9f0e33b3c0510267d7a41f2f4ee72ba452c37e (diff)
downloadgdb-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/c-exp.y')
-rw-r--r--gdb/c-exp.y4
1 files changed, 4 insertions, 0 deletions
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