aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-exp.y
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-08-24 21:38:24 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-08-24 21:38:24 +0000
commita1c8d76ef8cc1ddf20b43fe5660ba67a93339808 (patch)
tree26235bcfa4fead24c6b3fb645f61f90e30f92f38 /gdb/c-exp.y
parentfb2fc3b6b5f8f1f1ef57d4332e63d826c4271deb (diff)
downloadgdb-a1c8d76ef8cc1ddf20b43fe5660ba67a93339808.zip
gdb-a1c8d76ef8cc1ddf20b43fe5660ba67a93339808.tar.gz
gdb-a1c8d76ef8cc1ddf20b43fe5660ba67a93339808.tar.bz2
* frame.h, symtab.h, findvar.c (read_var_value): Change basereg
support to use LOC_BASEREG rather than SYMBOL_BASEREG_VALID. * dwarfread.c: Use LOC_BASEREG where appropriate. * Various: Support LOC_BASEREG and LOC_BASEREG_ARG.
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r--gdb/c-exp.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index 42e482b..0b19ed5 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -667,6 +667,8 @@ variable: name_not_typename
case LOC_REGPARM:
case LOC_LOCAL:
case LOC_LOCAL_ARG:
+ case LOC_BASEREG:
+ case LOC_BASEREG_ARG:
if (innermost_block == 0 ||
contained_in (block_found,
innermost_block))