diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-04-28 21:38:15 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-04-28 21:38:15 +0000 |
commit | a0cf46812cd57a8561ed6399b4aff14259374407 (patch) | |
tree | 1be91dbe776fc9c2716ef37479e92ccaf9e9edd2 /gdb/defs.h | |
parent | 21ad7c45a4061b7239c8729bf2a9e308a15301fc (diff) | |
download | fsf-binutils-gdb-a0cf46812cd57a8561ed6399b4aff14259374407.zip fsf-binutils-gdb-a0cf46812cd57a8561ed6399b4aff14259374407.tar.gz fsf-binutils-gdb-a0cf46812cd57a8561ed6399b4aff14259374407.tar.bz2 |
* utils.c, defs.h (error_begin): New function.
(quit): Print annotation before printing the error message.
* main.c (return_to_top_level): Print annotation before doing the
longjmp.
* symtab.c (decode_line_1): Call error not warning and then
return_to_top_level. Call error_begin and printf_unfiltered
rather calling warning (before calls to return_to_top_level).
* core.c (memory_error): Use error_begin, printf_unfiltered,
print_address_numeric and return_to_top_level instead of error.
Cleans up a FIXME-32x64.
* language.c (type_error, range_error): Call error_begin
not just target_terminal_ours.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -337,7 +337,7 @@ extern char * gdb_readline PARAMS ((char *)); extern char * -command_line_input PARAMS ((char *, int)); +command_line_input PARAMS ((char *, int, char *)); extern void print_prompt PARAMS ((void)); @@ -623,6 +623,8 @@ extern char *warning_pre_print; extern NORETURN void /* Does not return to the caller. */ error (); +extern void error_begin PARAMS ((void)); + extern NORETURN void /* Does not return to the caller. */ fatal (); |