aboutsummaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r--gdb/stabsread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c
index 667f519..f7b817e 100644
--- a/gdb/stabsread.c
+++ b/gdb/stabsread.c
@@ -1219,7 +1219,8 @@ read_type (pp, objfile)
for instance in a two-dimensional array declared with type
"ar1;1;10;ar1;1;10;4". */
if ((**pp >= '0' && **pp <= '9')
- || **pp == '(')
+ || **pp == '('
+ || **pp == '-')
{
if (read_type_number (pp, typenums) != 0)
return error_type (pp);