mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
* buildsym.h (param_symbols): Delete, unused.
(context_stack): Delete member "params", unused. * buildsym.c (push_context): Update. * dwarf2read.c (read_func_scope): Update.
This commit is contained in:
parent
a6521d9a4b
commit
43c7c83dac
@ -1,3 +1,10 @@
|
||||
2012-09-19 Doug Evans <dje@google.com>
|
||||
|
||||
* buildsym.h (param_symbols): Delete, unused.
|
||||
(context_stack): Delete member "params", unused.
|
||||
* buildsym.c (push_context): Update.
|
||||
* dwarf2read.c (read_func_scope): Update.
|
||||
|
||||
2012-09-19 Thomas Schwinge <thomas@codesourcery.com>
|
||||
|
||||
* sh-tdep.c (sh_register_convert_to_virtual)
|
||||
|
@ -1404,14 +1404,12 @@ push_context (int desc, CORE_ADDR valu)
|
||||
new = &context_stack[context_stack_depth++];
|
||||
new->depth = desc;
|
||||
new->locals = local_symbols;
|
||||
new->params = param_symbols;
|
||||
new->old_blocks = pending_blocks;
|
||||
new->start_addr = valu;
|
||||
new->using_directives = using_directives;
|
||||
new->name = NULL;
|
||||
|
||||
local_symbols = NULL;
|
||||
param_symbols = NULL;
|
||||
using_directives = NULL;
|
||||
|
||||
return new;
|
||||
|
@ -120,10 +120,6 @@ EXTERN struct pending *global_symbols;
|
||||
|
||||
EXTERN struct pending *local_symbols;
|
||||
|
||||
/* func params local to lexical context */
|
||||
|
||||
EXTERN struct pending *param_symbols;
|
||||
|
||||
/* "using" directives local to lexical context. */
|
||||
|
||||
EXTERN struct using_direct *using_directives;
|
||||
@ -137,10 +133,6 @@ struct context_stack
|
||||
|
||||
struct pending *locals;
|
||||
|
||||
/* Pending func params at the time we entered */
|
||||
|
||||
struct pending *params;
|
||||
|
||||
/* Pending using directives at the time we entered. */
|
||||
|
||||
struct using_direct *using_directives;
|
||||
|
@ -8837,7 +8837,6 @@ read_func_scope (struct die_info *die, struct dwarf2_cu *cu)
|
||||
when we finish processing a function scope, we may need to go
|
||||
back to building a containing block's symbol lists. */
|
||||
local_symbols = new->locals;
|
||||
param_symbols = new->params;
|
||||
using_directives = new->using_directives;
|
||||
|
||||
/* If we've finished processing a top-level function, subsequent
|
||||
|
Loading…
Reference in New Issue
Block a user