aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-06-14 16:49:41 +0000
committerTom Tromey <tromey@redhat.com>2011-06-14 16:49:41 +0000
commit91a81f69725a53644fb008a7066269020b8d2aa1 (patch)
tree76ea0bac4ce0f9b90a734a141f56767c81cdaf40 /gdb/objfiles.c
parent4d16d5754ec1e71d5e0b590a5b0ecdda95892f14 (diff)
downloadgdb-91a81f69725a53644fb008a7066269020b8d2aa1.zip
gdb-91a81f69725a53644fb008a7066269020b8d2aa1.tar.gz
gdb-91a81f69725a53644fb008a7066269020b8d2aa1.tar.bz2
* symtab.h (current_objfile): Don't declare.
* objfiles.h (current_objfile): Don't declare. * objfiles.c (current_objfile): Remove. * mdebugread.c (current_objfile): New file-scope global. * dbxread.c (current_objfile): New file-scope global. * coffread.c (current_objfile): New file-scope global.
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r--gdb/objfiles.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index 151588b..34d6422 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -64,7 +64,6 @@ static void objfile_free_data (struct objfile *objfile);
/* Externally visible variables that are owned by this module.
See declarations in objfile.h for more info. */
-struct objfile *current_objfile; /* For symbol file being read in */
struct objfile *rt_common_objfile; /* For runtime common symbols */
struct objfile_pspace_info