mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 10:09:16 +08:00
* symtab.h (enum address_class): Remove LOC_BASEREG and
LOC_BASEREG_ARG. (struct symbol): Remove "basereg" member of "aux_value" union. (SYMBOL_BASEREG): Remove. * ada-exp.y (select_possible_type_sym): Do not handle LOC_BASEREG or LOC_BASEREG_ARG. * ada-lang.c (resolve_subexp, symtab_for_sym): Likewise. (ada_add_block_symbols): Likewise. * ax-gdb.c (gen_var_ref): Likewise. * buildsym.c (finish_block): Likewise. * findvar.c (symbol_read_needs_frame, read_var_value): Likewise. * m2-exp.y (yylex): Likewise. * mi/mi-cmd-stack.c (list_args_or_locals): Likewise. * printcmd.c (address_info): Likewise. * stack.c (print_frame_args, print_block_frame_locals): Likewise. (print_frame_arg_vars): Likewise. * symmisc.c (print_symbol): Likewise. * symtab.c (lookup_block_symbol): Likewise. * tracepoint.c (collect_symbol, add_local_symbols): Likewise. (scope_info): Likewise.
This commit is contained in:
@ -1041,7 +1041,6 @@ address_info (char *exp, int from_tty)
|
||||
struct symbol *sym;
|
||||
struct minimal_symbol *msymbol;
|
||||
long val;
|
||||
long basereg;
|
||||
asection *section;
|
||||
CORE_ADDR load_addr;
|
||||
int is_a_field_of_this; /* C++: lookup_symbol sets this to nonzero
|
||||
@ -1099,7 +1098,6 @@ address_info (char *exp, int from_tty)
|
||||
current_language->la_language, DMGL_ANSI);
|
||||
printf_filtered ("\" is ");
|
||||
val = SYMBOL_VALUE (sym);
|
||||
basereg = SYMBOL_BASEREG (sym);
|
||||
section = SYMBOL_BFD_SECTION (sym);
|
||||
|
||||
switch (SYMBOL_CLASS (sym))
|
||||
@ -1172,16 +1170,6 @@ address_info (char *exp, int from_tty)
|
||||
printf_filtered (_("a reference argument at offset %ld"), val);
|
||||
break;
|
||||
|
||||
case LOC_BASEREG:
|
||||
printf_filtered (_("a variable at offset %ld from register %s"),
|
||||
val, gdbarch_register_name (current_gdbarch, basereg));
|
||||
break;
|
||||
|
||||
case LOC_BASEREG_ARG:
|
||||
printf_filtered (_("an argument at offset %ld from register %s"),
|
||||
val, gdbarch_register_name (current_gdbarch, basereg));
|
||||
break;
|
||||
|
||||
case LOC_TYPEDEF:
|
||||
printf_filtered (_("a typedef"));
|
||||
break;
|
||||
|
Reference in New Issue
Block a user