* buildsym.h (param_symbols): Delete, unused.
authorDoug Evans <dje@google.com>
Wed, 19 Sep 2012 20:06:47 +0000 (20:06 +0000)
committerDoug Evans <dje@google.com>
Wed, 19 Sep 2012 20:06:47 +0000 (20:06 +0000)
(context_stack): Delete member "params", unused.
* buildsym.c (push_context): Update.
* dwarf2read.c (read_func_scope): Update.

gdb/ChangeLog
gdb/buildsym.c
gdb/buildsym.h
gdb/dwarf2read.c

index c306d2c..d36c95e 100644 (file)
@@ -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)
index e4882fb..1ce40b9 100644 (file)
@@ -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;
index 33b34c8..0db96bf 100644 (file)
@@ -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;
index 0009ff8..758bd3b 100644 (file)
@@ -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