aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-05-22 16:58:02 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-05-22 16:58:02 +0000
commit0bb4e8c4ad45e09c354fdb57d18d5c1602900a63 (patch)
treeed419407270a02240f7b71592601c236eef5973c /gdb/symtab.c
parent103a86713589f2ed97b20281a3f16e47b0f3e270 (diff)
downloadgdb-0bb4e8c4ad45e09c354fdb57d18d5c1602900a63.zip
gdb-0bb4e8c4ad45e09c354fdb57d18d5c1602900a63.tar.gz
gdb-0bb4e8c4ad45e09c354fdb57d18d5c1602900a63.tar.bz2
* symtab.h (enum address_class): Remove LOC_INDIRECT and
LOC_HP_THREAD_LOCAL_STATIC. * findvar.c (symbol_read_needs_frame, read_var_value): Do not handle LOC_INDIRECT or LOC_HP_THREAD_LOCAL_STATIC. (read_var_value): Likewise. * buildsym.c (finish_block): Likewise. * objfiles.c (objfile_relocate): Likewise. * printcmd.c (address_info): Likewise. * symmisc.c (print_symbol, print_partial_symbols): Likewise. * tracepoint.c (scope_info): Likewise.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 4e2b2a5..d4f3bfe 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -1116,7 +1116,6 @@ fixup_symbol_section (struct symbol *sym, struct objfile *objfile)
{
case LOC_STATIC:
case LOC_LABEL:
- case LOC_INDIRECT:
addr = SYMBOL_VALUE_ADDRESS (sym);
break;
case LOC_BLOCK:
@@ -1151,7 +1150,6 @@ fixup_psymbol_section (struct partial_symbol *psym, struct objfile *objfile)
{
case LOC_STATIC:
case LOC_LABEL:
- case LOC_INDIRECT:
case LOC_BLOCK:
addr = SYMBOL_VALUE_ADDRESS (psym);
break;