From 3e9986d2216e847a63ccd55fea53c381b8f5afa7 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Thu, 27 Sep 2001 21:14:48 +0000 Subject: 2001-09-21 Michael Snyder * c-exp.y (typebase): Accept (signed long long) as a type expr. --- gdb/ChangeLog | 4 ++++ gdb/c-exp.y | 4 ++++ 2 files changed, 8 insertions(+) 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 + + * 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 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 -- cgit v1.1