From 34431a2aa1e9e1a2fc255619985103494ae2f90d Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 23 Apr 2012 18:53:16 +0000 Subject: [PATCH] * buildsym.c (add_free_pendings): Remove. * buildsym.h (add_free_pendings): Remove. --- gdb/ChangeLog | 5 +++++ gdb/buildsym.c | 14 -------------- gdb/buildsym.h | 2 -- 3 files changed, 5 insertions(+), 16 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b2a9e8b418f..6b43d01a89a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-04-23 Tom Tromey + + * buildsym.c (add_free_pendings): Remove. + * buildsym.h (add_free_pendings): Remove. + 2012-04-23 Doug Evans * dwarf2read.c (partial_die_full_name): Record DW_FORM_ref_addr in diff --git a/gdb/buildsym.c b/gdb/buildsym.c index fb13162bb69..36b1395f3b0 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 7cd0da09442..4448267c24a 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); -- 2.30.2