aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2007-11-15 22:54:22 +0000
committerDoug Evans <dje@google.com>2007-11-15 22:54:22 +0000
commit94d09e0408935636db2e9c5b1f7726ef7e6ed514 (patch)
tree84db8a19809224f60670b547c7117c78005166ba /gdb
parentb01c0a4adb779da9df392741b6969b872a905bb1 (diff)
downloadgdb-94d09e0408935636db2e9c5b1f7726ef7e6ed514.zip
gdb-94d09e0408935636db2e9c5b1f7726ef7e6ed514.tar.gz
gdb-94d09e0408935636db2e9c5b1f7726ef7e6ed514.tar.bz2
* buildsym.h (subfiles): Move ...
* buildsym.c (subfiles): ... to here and make static.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/buildsym.c4
-rw-r--r--gdb/buildsym.h2
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