* 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 c306d2c28376f58ede5bfd2f07554e2f8a93b5c4..d36c95e4cbfe11fe4dafece2e14104a252293f5a 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 e4882fb7fcef78ca5182266d96cd84c14c6117ba..1ce40b9d868966f5c72deeb35715e3cea61cb7df 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 33b34c8de9486a4302f84615160cd767ef1abe98..0db96bf2f96878171796f7f401acf2911e648531 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 0009ff810c96e61ba08cc7c802641ef0b4009821..758bd3bcbbfb801528f50797fc52456f2a9c4fee 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