aboutsummaryrefslogtreecommitdiff
path: root/gdb/findvar.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2008-05-22 16:59:01 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2008-05-22 16:59:01 +0000
commitaa59ba6b2707e2912437f780ffad25a897153f95 (patch)
tree871200706b336d46b83bb37bb562abc4fd656514 /gdb/findvar.c
parent0bb4e8c4ad45e09c354fdb57d18d5c1602900a63 (diff)
downloadgdb-aa59ba6b2707e2912437f780ffad25a897153f95.zip
gdb-aa59ba6b2707e2912437f780ffad25a897153f95.tar.gz
gdb-aa59ba6b2707e2912437f780ffad25a897153f95.tar.bz2
* 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.
Diffstat (limited to 'gdb/findvar.c')
-rw-r--r--gdb/findvar.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/findvar.c b/gdb/findvar.c
index 1f853b3..6d53674 100644
--- a/gdb/findvar.c
+++ b/gdb/findvar.c
@@ -359,7 +359,6 @@ symbol_read_needs_frame (struct symbol *sym)
case LOC_REGPARM:
case LOC_REGPARM_ADDR:
case LOC_LOCAL:
- case LOC_LOCAL_ARG:
case LOC_BASEREG:
case LOC_BASEREG_ARG:
return 1;
@@ -480,7 +479,6 @@ read_var_value (struct symbol *var, struct frame_info *frame)
}
case LOC_LOCAL:
- case LOC_LOCAL_ARG:
if (frame == NULL)
return 0;
addr = get_frame_locals_address (frame);