aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
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/symtab.c
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/symtab.c')
-rw-r--r--gdb/symtab.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 38675d1..745b74c 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -899,7 +899,8 @@ lookup_block_symbol (block, name, namespace)
SYMBOL_CLASS (sym) != LOC_LOCAL_ARG &&
SYMBOL_CLASS (sym) != LOC_REF_ARG &&
SYMBOL_CLASS (sym) != LOC_REGPARM &&
- SYMBOL_CLASS (sym) != LOC_REGPARM_ADDR)
+ SYMBOL_CLASS (sym) != LOC_REGPARM_ADDR &&
+ SYMBOL_CLASS (sym) != LOC_BASEREG_ARG)
{
break;
}