From: Michael Snyder Date: Thu, 27 Sep 2001 21:14:48 +0000 (+0000) Subject: 2001-09-21 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e9986d2216e847a63ccd55fea53c381b8f5afa7;p=binutils-gdb.git 2001-09-21 Michael Snyder * c-exp.y (typebase): Accept (signed long long) as a type expr. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index aa1a136c036..c4437a839fd 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 + + * c-exp.y (typebase): Accept (signed long long) as a type expr. + 2001-09-20 Kevin Buettner * solib-svr4.c (fetch_link_map_offsets): Add comment. diff --git a/gdb/c-exp.y b/gdb/c-exp.y index 226fb816711..4b7237709bb 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