* 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:
Ulrich Weigand 2008-05-22 16:59:01 +00:00
parent 0bb4e8c4ad
commit aa59ba6b27
14 changed files with 19 additions and 39 deletions

View file

@ -485,14 +485,6 @@ enum address_class
LOC_CONST_BYTES,
/* Value is arg at SYMBOL_VALUE offset in stack frame. Differs from
LOC_LOCAL in that symbol is an argument; differs from LOC_ARG in
that we find it in the frame (get_frame_locals_address), not in
the arglist (get_frame_args_address). Added for i960, which
passes args in regs then copies to frame. */
LOC_LOCAL_ARG,
/* Value is at SYMBOL_VALUE offset from the current value of
register number SYMBOL_BASEREG. This exists mainly for the same
things that LOC_LOCAL and LOC_ARG do; but we need to do this