aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/buildsym.c14
-rw-r--r--gdb/buildsym.h2
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);