diff options
author | Tom Tromey <tromey@redhat.com> | 2012-04-23 18:53:16 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-04-23 18:53:16 +0000 |
commit | 34431a2aa1e9e1a2fc255619985103494ae2f90d (patch) | |
tree | 41bd6e091a2fbacdeade8eda8fb378ab694e7ede /gdb | |
parent | aab322dbadb230e3b4d4e8ff4ed4f26acd94b9a4 (diff) | |
download | gdb-34431a2aa1e9e1a2fc255619985103494ae2f90d.zip gdb-34431a2aa1e9e1a2fc255619985103494ae2f90d.tar.gz gdb-34431a2aa1e9e1a2fc255619985103494ae2f90d.tar.bz2 |
* buildsym.c (add_free_pendings): Remove.
* buildsym.h (add_free_pendings): Remove.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/buildsym.c | 14 | ||||
-rw-r--r-- | gdb/buildsym.h | 2 |
3 files changed, 5 insertions, 16 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b2a9e8b..6b43d01 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-04-23 Tom Tromey <tromey@redhat.com> + + * buildsym.c (add_free_pendings): Remove. + * buildsym.h (add_free_pendings): Remove. + 2012-04-23 Doug Evans <dje@google.com> * dwarf2read.c (partial_die_full_name): Record DW_FORM_ref_addr in diff --git a/gdb/buildsym.c b/gdb/buildsym.c index fb13162..36b1395 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -101,20 +101,6 @@ static void record_pending_block (struct objfile *objfile, /* Maintain the lists of symbols and blocks. */ -/* Add a pending list to free_pendings. */ -void -add_free_pendings (struct pending *list) -{ - struct pending *link = list; - - if (list) - { - while (link->next) link = link->next; - link->next = free_pendings; - free_pendings = list; - } -} - /* Add a symbol to one of the lists of symbols. */ void diff --git a/gdb/buildsym.h b/gdb/buildsym.h index 7cd0da0..4448267 100644 --- a/gdb/buildsym.h +++ b/gdb/buildsym.h @@ -233,8 +233,6 @@ EXTERN int type_vector_length; #define INITIAL_TYPE_VECTOR_LENGTH 160 -extern void add_free_pendings (struct pending *list); - extern void add_symbol_to_list (struct symbol *symbol, struct pending **listhead); |