* symtab.h (enum address_class): Remove LOC_LOCAL_ARG.
* ada-exp.y (select_possible_type_sym): Do not handle LOC_LOCAL_ARG. * ada-lang.c (resolve_subexp, symtab_for_sym): Likewise. (ada_add_block_symbols): Likewise. * ax-gdb.c (gen_var_ref): Likewise. * buildsyms.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_frame_arg_vars): Likewise. * symmisc.c (print_symbol, print_partial_symbols): Likewise. * symtab.c (lookup_block_symbol): Likewise. * tracepoint.c (collect_symbol, add_local_symbols): Likewise. (scope_info): Likewise.
This commit is contained in:
parent
0bb4e8c4ad
commit
aa59ba6b27
14 changed files with 19 additions and 39 deletions
|
@ -1279,7 +1279,6 @@ collect_symbol (struct collection_list *collect,
|
|||
add_memrange (collect, reg, offset, len);
|
||||
break;
|
||||
case LOC_LOCAL:
|
||||
case LOC_LOCAL_ARG:
|
||||
reg = frame_regno;
|
||||
offset = frame_offset + SYMBOL_VALUE (sym);
|
||||
if (info_verbose)
|
||||
|
@ -1348,7 +1347,6 @@ add_local_symbols (struct collection_list *collect, CORE_ADDR pc,
|
|||
}
|
||||
break;
|
||||
case LOC_ARG:
|
||||
case LOC_LOCAL_ARG:
|
||||
case LOC_REF_ARG:
|
||||
case LOC_REGPARM:
|
||||
case LOC_REGPARM_ADDR:
|
||||
|
@ -2461,7 +2459,6 @@ scope_info (char *args, int from_tty)
|
|||
(current_gdbarch, SYMBOL_VALUE (sym)));
|
||||
break;
|
||||
case LOC_ARG:
|
||||
case LOC_LOCAL_ARG:
|
||||
printf_filtered ("an argument at stack/frame offset %ld",
|
||||
SYMBOL_VALUE (sym));
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue