From 4cffc916c155b97cf5c32954c1610b69a6e0832d Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Mon, 11 Jan 1999 21:51:39 +0000 Subject: [PATCH] * dwarf2read.c (dump_die): Change stderr gdb_stderr. * expprint.c (print_subexp): fprintf => fprintf_unfiltered. * jv-typeprint.c (java_type_print_base): fputs => fputs_filtered. * stack.c (struct function_bounds): Remove superfluous `typedef'. * symfile.c (list_overlays_command): stdout => gdb_stdout. * symmisc.c (maintenance_check_symtabs): stdout => gdb_stdout. * utils.c (print_spaces): Make more efficient. --- gdb/ChangeLog | 10 ++++++++++ gdb/dwarf2read.c | 2 +- gdb/jv-typeprint.c | 2 +- gdb/stack.c | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 18fada5..4796f40 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,13 @@ +Mon Jan 11 13:45:57 1999 Stu Grossman + + * dwarf2read.c (dump_die): Change stderr gdb_stderr. + * expprint.c (print_subexp): fprintf => fprintf_unfiltered. + * jv-typeprint.c (java_type_print_base): fputs => fputs_filtered. + * stack.c (struct function_bounds): Remove superfluous `typedef'. + * symfile.c (list_overlays_command): stdout => gdb_stdout. + * symmisc.c (maintenance_check_symtabs): stdout => gdb_stdout. + * utils.c (print_spaces): Make more efficient. + Mon Jan 11 13:55:51 1999 David Taylor * utils (print_spaces): fix arg to strcat; fix formatting. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 54c8e44..cf52066 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -5458,7 +5458,7 @@ dump_die (die) case DW_FORM_ref_addr: case DW_FORM_addr: fprintf (stderr, "address: "); - print_address_numeric (DW_ADDR (&die->attrs[i]), 1, stderr); + print_address_numeric (DW_ADDR (&die->attrs[i]), 1, gdb_stderr); break; case DW_FORM_block2: case DW_FORM_block4: diff --git a/gdb/jv-typeprint.c b/gdb/jv-typeprint.c index 4c5a204..40c3e90 100644 --- a/gdb/jv-typeprint.c +++ b/gdb/jv-typeprint.c @@ -111,7 +111,7 @@ java_type_print_base (type, stream, show, level) if (TYPE_TAG_NAME (type) != NULL && TYPE_TAG_NAME (type)[0] == '[') { /* array type */ char *name = java_demangle_type_signature (TYPE_TAG_NAME (type)); - fputs (name, stream); + fputs_filtered (name, stream); free (name); break; } diff --git a/gdb/stack.c b/gdb/stack.c index 685d491..e0bf7dd 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -1839,7 +1839,7 @@ return_command (retval_exp, from_tty) /* Sets the scope to input function name, provided that the function is within the current stack frame */ -typedef struct function_bounds +struct function_bounds { CORE_ADDR low, high; }; -- 2.7.4