From: Doug Evans Date: Thu, 15 Nov 2007 22:54:22 +0000 (+0000) Subject: * buildsym.h (subfiles): Move ... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=94d09e0408935636db2e9c5b1f7726ef7e6ed514;p=binutils-gdb.git * buildsym.h (subfiles): Move ... * buildsym.c (subfiles): ... to here and make static. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index afb6351735b..a88d2bdcbff 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2007-11-15 Doug Evans + * 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 diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 0b1a52635fd..0bba94ab529 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 cb16be19c30..16affd9528a 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