diff options
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/buildsym.c | 4 | ||||
-rw-r--r-- | gdb/buildsym.h | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index afb6351..a88d2bd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2007-11-15 Doug Evans <dje@google.com> + * buildsym.h (subfiles): Move ... + * buildsym.c (subfiles): ... to here and make static. + * symmisc.c (maintenance_info_symtabs): Print linetable info. 2007-11-15 Markus Deuling <deuling@de.ibm.com> diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 0b1a526..0bba94a 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -55,6 +55,10 @@ #include "stabsread.h" +/* List of subfiles. */ + +static struct subfile *subfiles; + /* List of free `struct pending' structures for reuse. */ static struct pending *free_pendings; diff --git a/gdb/buildsym.h b/gdb/buildsym.h index cb16be1..16affd9 100644 --- a/gdb/buildsym.h +++ b/gdb/buildsym.h @@ -71,8 +71,6 @@ struct subfile struct symtab *symtab; }; -EXTERN struct subfile *subfiles; - EXTERN struct subfile *current_subfile; /* Global variable which, when set, indicates that we are processing a |