diff options
Diffstat (limited to 'gdb/symmisc.c')
-rw-r--r-- | gdb/symmisc.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gdb/symmisc.c b/gdb/symmisc.c index a8f8856..fe353bc 100644 --- a/gdb/symmisc.c +++ b/gdb/symmisc.c @@ -41,16 +41,6 @@ #include "psymtab.h" #include "psympriv.h" -/* Unfortunately for debugging, stderr is usually a macro. This is painful - when calling functions that take FILE *'s from the debugger. - So we make a variable which has the same value and which is accessible when - debugging GDB with itself. Because stdin et al need not be constants, - we initialize them in the _initialize_symmisc function at the bottom - of the file. */ -static FILE *std_in; -static FILE *std_out; -static FILE *std_err; - /* Prototypes for local functions */ static int block_depth (const struct block *); @@ -1102,10 +1092,6 @@ void _initialize_symmisc (); void _initialize_symmisc () { - std_in = stdin; - std_out = stdout; - std_err = stderr; - add_cmd ("symbols", class_maintenance, maintenance_print_symbols, _("\ Print dump of current symbol definitions.\n\ Usage: mt print symbols [-pc ADDRESS] [--] [OUTFILE]\n\ |