2005-01-16 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index a48292853dfce26292faf0188758f31cd8dc03ab..57feab0825e05fe9552fcc5a44cc2f3f26ace06a 100644 (file)
@@ -1,5 +1,133 @@
+2005-01-16  Andrew Cagney  <cagney@gnu.org>
+
+       * exceptions.c (struct catcher): Delete saved_error_pre_print and
+       saved_quit_pre_print.
+       (catcher_init): Delete parameter errstring, do not override the
+       pre_print strings.
+       (catcher_pop): Do not restore the pre_print strings.
+       (catch_exception, catch_exceptions_with_msg, catch_errors)
+       (catch_command_errors): Update catch_init calls.
+
+2005-01-16  Mark Kettenis  <kettenis@gnu.org>
+
+       * Makefile.in (sparc64fbsd-nat.o): Update dependencies.
+       * sparc64fbsd-nat.c: Update copyright year.  Include "target.h".
+
+2005-01-15  Andrew Cagney  <cagney@gnu.org>
+
+       * acinclude.m4: Include ../bfd/bfd.m4 instead of
+       ../bfd/acinclude.m4.  Include ../gettext.m4.
+       * aclocal.m4, configure: Re-generate.
+
+       * exceptions.c (do_captured_command)
+       (struct captured_command_args): Delete.
+       (catch_command_errors): Simplify by inlining call to catch_errors.
+
+       * exceptions.c (struct catcher): Delete field print_message.
+       (catcher_init): Delete print_message parameter.
+       (catch_exception, catch_exceptions_with_msg, catch_errors): Update.
+       (throw_it): Delete prefix parameter.
+       (throw_verror, throw_vfatal, throw_error): Update.
+
+2005-01-14  Andrew Cagney  <cagney@gnu.org>
+
+       * exceptions.c (print_and_throw): Delete, replaced by throw_it.
+       (throw_reason): Leave the exception's message field blank.
+       (throw_it): New function, create the exception and throw it.
+       (throw_verror, throw_vfatal, throw_error): Call throw_it.
+       (print_any_exception): New function.
+       (catch_errors, catch_exceptions_with_msg): Call
+       print_any_exception.
+       (throw_exception): Move code calling annotate_error and
+       annotate_quit from here ...
+       (print_exception): ... to here.
+
+       * exceptions.c (exception_fprintf, exception_print): Move printing
+       of \n from here ...
+       (print_exception): ... to here.
+       (print_flush): New function.
+       (exception_print, exception_fprintf): Replace duplicated flush and
+       wrap code with call to print_flush.
+       (print_and_throw): Simplify, by using xstrvprintf, print_flush,
+       and print_exception.
+       (do_write): Delete.
+
+       * remote-sds.c (interrupt_query): Call throw_reason instead of
+       throw_exception.
+       * remote-mips.c (mips_error, mips_kill): Ditto
+       * ocd.c (interrupt_query): Ditto.
+       * nto-procfs.c (interrupt_query): Ditto.
+       * monitor.c (monitor_interrupt_query): Ditto.
+
+2005-01-14  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions.
+
+2005-01-14  Andrew Cagney  <cagney@gnu.org>
+
+       * exceptions.h (catch_exceptions): Delete errstring parameter.
+       (catch_exceptions_with_msg): Ditto.
+       * exceptions.c (catch_exceptions_with_msg): Update.
+       (catch_exceptions): Update.
+       * symfile-mem.c (add_vsyscall_page): Update.
+       * frame.c (get_current_frame): Update.
+       * wrapper.c (gdb_value_struct_elt): Update.
+       * exceptions.c (catch_exceptions): Update.
+       * thread.c (gdb_list_thread_ids, gdb_thread_select): Update.
+       * breakpoint.c (gdb_breakpoint_query, gdb_breakpoint): Update.
+       * remote-fileio.c (remote_fileio_request): Update.
+       
+       * exceptions.h (exception_fprintf): Declare.
+       (exception_print): Drop pre_print parameter.
+       * mi/mi-main.c (mi_execute_command): Update exception_print call.
+       * cli/cli-interp.c (safe_execute_command): Update exception_print
+       call.
+       * remote.c (remote_open_1): Instead of passing an error prefix to
+       catch_exceptions, use catch_exceptions and exception_fprintf.
+       (remote_start_remote): Change return type to void.
+       * breakpoint.c (insert_bp_location): Instead of passing an error
+       prefix to catch_exceptions, use catch_exceptions and
+       exception_fprintf.
+       (insert_catchpoint): Change return type to void.
+       (break_command_1): Update exception_print call.
+       * exceptions.c (exception_fprintf): New function.
+       (print_exception): New function.
+       (exception_print): Use print_exception.
+       
+       * utils.c (error_output_message): Delete function.
+       * defs.h (error_output_message): Delete declaration.
+
+       * linespec.c (symtab_from_filename, decode_variable): Use
+       throw_error instead of error_silent.
+       * breakpoint.c (do_captured_parse_breakpoint): Change return type
+       to void.
+       (break_command_1): Use catch_exception and check the error return
+       status.
+       * exceptions.c (throw_error): New function.
+       (throw_vsilent): Delete function.
+       * exceptions.h (throw_error): Declare.
+       (throw_vsilent): Delete declaration.
+       * utils.c (error_silent): Delete function.
+       * defs.h (error_silent): Delete declaration.
+       
+       * mi/mi-main.c (mi_execute_command): Print the exception.
+       * cli/cli-interp.c (safe_execute_command): Print the exception.
+       * exceptions.h (exception_print): Declare.
+       * exceptions.c (struct catcher): Add field print_message.
+       (catcher_init): Add parameter print_message, store in the catcher
+       struct.
+       (print_and_throw): Only print the message when print_message.
+       (catch_exceptions_with_msg, catch_errors): Pass print_message=1 to
+       catcher_init.
+       (catch_exception): Pass print_message=0 to catcher_init.
+
+       * varobj.c (varobj_create): Add missing \n.
+
 2005-01-13  Michael Snyder  <msnyder@redhat.com>
 
+       * cli/cli-decode.h: Whitespace tweaks.
+       * wince.c: Whitespace tweaks.
+       * uw-thread.c: Whitespace tweaks.
        * utils.c: Whitespace tweaks.
        * tracepoint.[ch]: Whitespace tweaks.
        * solist.h: Whitespace tweaks.
This page took 0.02466 seconds and 4 git commands to generate.