From 94d09e0408935636db2e9c5b1f7726ef7e6ed514 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 15 Nov 2007 22:54:22 +0000 Subject: [PATCH] * buildsym.h (subfiles): Move ... * buildsym.c (subfiles): ... to here and make static. --- gdb/ChangeLog | 3 +++ gdb/buildsym.c | 4 ++++ 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 + * 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 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 -- 2.7.4