aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
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/symtab.h
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/symtab.h')
-rw-r--r--gdb/symtab.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 12f52a2..c4319a7 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -847,10 +847,6 @@ struct symtab
/* External variables and functions for the objects described above. */
-/* See the comment in symfile.c about how current_objfile is used. */
-
-extern struct objfile *current_objfile;
-
/* True if we are nested inside psymtab_to_symtab. */
extern int currently_reading_symtab;