2001-09-21 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Thu, 27 Sep 2001 21:14:48 +0000 (21:14 +0000)
committerMichael Snyder <msnyder@vmware.com>
Thu, 27 Sep 2001 21:14:48 +0000 (21:14 +0000)
* c-exp.y (typebase): Accept (signed long long) as a type expr.

gdb/ChangeLog
gdb/c-exp.y

index aa1a136..c4437a8 100644 (file)
        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.
index 226fb81..4b72377 100644 (file)
@@ -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