2005-01-13 Michael Snyder <msnyder@redhat.com>
[binutils-gdb.git] / gdb / ChangeLog
index 2dee79c2e526161eee095522be1936d9af6f5cbc..e5fb7e40fb6a120718183b9e3a8840a12ee5ac51 100644 (file)
@@ -1,5 +1,68 @@
+2005-01-13  Michael Snyder  <msnyder@redhat.com>
+
+       * infrun.c: Whitespace tweaks.
+       * infcmd.c: Whitespace tweaks.
+       * hpux-thread.c: Whitespace tweaks.
+       * hppa-hpux-tdep.c: Whitespace tweaks.
+       * gdbcore.h: Whitespace tweaks.
+       * gdbcmd.h: Whitespace tweaks.
+       * gdb-events[.c, .h, .sh]: Whitespace tweaks.
+       * corefile.c: Whitespace tweaks.
+       * completer.c: Whitespace tweaks.
+       * coff-solib.c: Whitespace tweaks.
+       * coff-solib.h: Whitespace tweaks.
+       * cli-out.c: Whitespace tweaks.
+       * breakpoint.c: Whitespace tweaks.
+       * cli/cli-interp.c: Tweak comments, per coding standard.
+
+2005-01-13  Andrew Cagney  <cagney@gnu.org>
+
+       * breakpoint.c (gdb_breakpoint_query): Update, use
+       catch_exceptions_with_msg.
+       (do_captured_breakpoint): Add uiout parameter.
+       (gdb_breakpoint): Update, use catch_exceptions_with_msg.
+       * mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to
+       gdb_thread_select.  Return MI_CMD_ERROR instead of
+       MI_CMD_CAUGHT_ERROR.
+       (mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids.
+       (enum captured_mi_execute_command_actions): Delete
+       EXECUTE_COMMAND_DISPLAY_ERROR.
+       (captured_mi_execute_command): Delete code handling
+       MI_CMD_CAUGHT_ERROR.
+       (mi_execute_command): Don't check for
+       EXECUTE_COMMAND_DISPLAY_ERROR.
+       * mi/mi-cmd-break.c (breakpoint_notify): Update call to
+       gdb_breakpoint_query.
+       (mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint.
+       * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR.
+       * gdb.h (gdb_thread_select, gdb_list_thread_ids)
+       (gdb_breakpoint, gdb_breakpoint_query): Add error_message
+       parameter.
+       * thread.c (thread_command): Update call.
+       (gdb_thread_select, gdb_list_thread_ids): Update, call
+       catch_exceptions_with_msg.
+
+       * mi/mi-main.c (mi_execute_command): Use catch_exception,
+       eliminate call to error_last_message.
+       (captured_mi_execute_command): Change return type to void.
+
 2005-01-12  Andrew Cagney  <cagney@gnu.org>
 
+       * exceptions.c (exception_none): New variable.
+       * Makefile.in: Update dependencies.
+       * interps.c: Include "exceptions.h".
+       (interpreter_exec_cmd, interp_exec): Update to return "struct
+       exception"
+       * exceptions.h (no_exception): Declare.
+       * tui/tui-interp.c (tui_exec): Update to return "struct exception"
+       * mi/mi-interp.c: Include "exceptions.h".
+       (mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return
+       'struct exception".
+       * cli/cli-interp.c (cli_interpreter_exec, safe_execute_command) 
+       (do_captured_execute_command): Update to use catch_exception.
+       * interps.h: Include "exceptions.h".
+       (interp_exec_ftype, interp_exec): Return "struct exception".
+
        * exceptions.h (throw_reason): Rename throw_exception.
        (enum errors, struct exception): Define.
        (catch_exception_ftype): Define.