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 aa1a136c036229c658193c10fb01f28ce7b1527e..c4437a839fd6ee81b336e143700aceed6d1402d4 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 226fb8167113d5089a620dbdfecefac2220a6298..4b7237709bb28c02f0fb86e57a6a1497010e08a9 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