aboutsummaryrefslogtreecommitdiff
path: root/gdb/printcmd.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/printcmd.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/printcmd.c')
-rw-r--r--gdb/printcmd.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index 44fb2e1..d698a83 100644
--- a/gdb/printcmd.c
+++ b/gdb/printcmd.c
@@ -1150,20 +1150,6 @@ address_info (char *exp, int from_tty)
}
break;
- case LOC_INDIRECT:
- printf_filtered (_("external global (indirect addressing), at address *("));
- fputs_filtered (paddress (load_addr = SYMBOL_VALUE_ADDRESS (sym)),
- gdb_stdout);
- printf_filtered (")");
- if (section_is_overlay (section))
- {
- load_addr = overlay_unmapped_address (load_addr, section);
- printf_filtered (_(",\n -- loaded at "));
- fputs_filtered (paddress (load_addr), gdb_stdout);
- printf_filtered (_(" in overlay section %s"), section->name);
- }
- break;
-
case LOC_REGPARM:
printf_filtered (_("an argument in register %s"),
gdbarch_register_name (current_gdbarch, val));
@@ -1241,12 +1227,6 @@ address_info (char *exp, int from_tty)
}
break;
- case LOC_HP_THREAD_LOCAL_STATIC:
- printf_filtered (_("\
-a thread-local variable at offset %ld from the thread base register %s"),
- val, gdbarch_register_name (current_gdbarch, basereg));
- break;
-
case LOC_OPTIMIZED_OUT:
printf_filtered (_("optimized out"));
break;