From 91a81f69725a53644fb008a7066269020b8d2aa1 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 14 Jun 2011 16:49:41 +0000 Subject: * 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. --- gdb/symtab.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gdb/symtab.h') 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; -- cgit v1.1