* utils.c, defs.h (error_begin): New function.
authorJim Kingdon <jkingdon@engr.sgi.com>
Thu, 28 Apr 1994 21:38:15 +0000 (21:38 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Thu, 28 Apr 1994 21:38:15 +0000 (21:38 +0000)
commita0cf46812cd57a8561ed6399b4aff14259374407
tree1be91dbe776fc9c2716ef37479e92ccaf9e9edd2
parent21ad7c45a4061b7239c8729bf2a9e308a15301fc
* 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.
gdb/ChangeLog
gdb/core.c
gdb/defs.h
gdb/language.c
gdb/symtab.c
gdb/utils.c