aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/buildsym.c2
-rw-r--r--gdb/buildsym.h8
-rw-r--r--gdb/dwarf2read.c1
4 files changed, 7 insertions, 11 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c306d2c..d36c95e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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)
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index e4882fb..1ce40b9 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -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;
diff --git a/gdb/buildsym.h b/gdb/buildsym.h
index 33b34c8..0db96bf 100644
--- a/gdb/buildsym.h
+++ b/gdb/buildsym.h
@@ -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;
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 0009ff8..758bd3b 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -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