aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-05-04 14:20:32 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-05-04 14:20:32 +0000
commite16b9023f0ac7bc2357a7b18ecef9d28582e5a09 (patch)
treeb7054d4f414a5b33255260c21412832d925bbd27 /gdb/language.c
parent997c6a1d8421fa1cbc8f1d4dc6899bb70b909cb5 (diff)
downloadgdb-e16b9023f0ac7bc2357a7b18ecef9d28582e5a09.zip
gdb-e16b9023f0ac7bc2357a7b18ecef9d28582e5a09.tar.gz
gdb-e16b9023f0ac7bc2357a7b18ecef9d28582e5a09.tar.bz2
* core.c (memory_error), symtab.c (cplusplus_hint, decode_line_1),
language.c (type_error, range_error): Use filtered output. * utils.c (error_begin): Update comment to tell people to use filtered output.
Diffstat (limited to 'gdb/language.c')
-rw-r--r--gdb/language.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/language.c b/gdb/language.c
index af0243b..6347428 100644
--- a/gdb/language.c
+++ b/gdb/language.c
@@ -984,14 +984,14 @@ type_error (va_alist)
char *string;
if (type_check == type_check_warn)
- fprintf_unfiltered (gdb_stderr, warning_pre_print);
+ fprintf_filtered (gdb_stderr, warning_pre_print);
else
error_begin ();
va_start (args);
string = va_arg (args, char *);
- vfprintf_unfiltered (gdb_stderr, string, args);
- fprintf_unfiltered (gdb_stderr, "\n");
+ vfprintf_filtered (gdb_stderr, string, args);
+ fprintf_filtered (gdb_stderr, "\n");
va_end (args);
if (type_check == type_check_on)
return_to_top_level (RETURN_ERROR);
@@ -1005,14 +1005,14 @@ range_error (va_alist)
char *string;
if (range_check == range_check_warn)
- fprintf_unfiltered (gdb_stderr, warning_pre_print);
+ fprintf_filtered (gdb_stderr, warning_pre_print);
else
error_begin ();
va_start (args);
string = va_arg (args, char *);
- vfprintf_unfiltered (gdb_stderr, string, args);
- fprintf_unfiltered (gdb_stderr, "\n");
+ vfprintf_filtered (gdb_stderr, string, args);
+ fprintf_filtered (gdb_stderr, "\n");
va_end (args);
if (range_check == range_check_on)
return_to_top_level (RETURN_ERROR);