mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 17:40:49 +00:00
* 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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user