2005-01-13 Michael Snyder <msnyder@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 539ab00c20e5414f6f11685032beade4d3210195..46468c3c5c4317cd8cbef158e7784bab8ffcbccb 100644 (file)
@@ -1,3 +1,178 @@
+2005-01-13  Michael Snyder  <msnyder@redhat.com>
+
+       * pa64solib.[ch]: Whitespace tweaks.
+       * mdebugread.c: Whitespace tweaks.
+       * main.c: Whitespace tweaks.
+       * interps.c: Whitespace tweaks.
+       * 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.
+       (catch_exception, throw_exception): Declare.
+       * exceptions.c (throw_exception): Rewrite.
+       (throw_reason): New function.
+       (struct catcher, catcher_state_machine): Replace "reason" with
+       "exception", delete "gdberrmsg".
+       (catch_exception): New function.
+       (catcher_init): Replace "gdberrmsg" parameter with "exception".
+       (catch_errors, catch_exceptions_with_msg): Re-implement passing
+       exception to catcher_init.
+       * utils.c (error_silent, error_stream_1): Use throw_reason.
+       (internal_verror, quit): Ditto.
+       * breakpoint.c (insert_catchpoint, break_command_1): Ditto.
+       * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto.
+       * remote.c (remote_open_1, interrupt_query): Ditto.
+
+2005-01-12  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386fbsd-tdep.c: Update copyright year.  Include "gdbcore.h",
+       "regcache.h", "gdb_assert.h" and "bsd-uthread.h".
+       (i386fbsd_jmp_buf_reg_offset): New variable.
+       (i386fbsd_supply_uthread, i386fbsd_collect_uthread): New
+       functions.
+       (i386fbsdaout_init_abi): Set supply_uthread and collect_uthread.
+       * Makefile.in (i386fbsd-tdep.o): Update dependency.
+       * config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o.
+
+       * bsd-uthread.h: New file.
+       * bsd-uthread.c: New file.
+       * Makefile.in (bsd_uthread_h): New variable.
+       (ALLDEPFILES): Add bsd-uthread.c.
+       (bsd-uthread.o): New dependency.
+
+       * solib.h Update copyright year.
+       (struct so_list): Forward declaration.
+       (solib_read_symbols): New prototype.
+       * solib.c (solib_read_symbols): New function.
+       (solib_add): Call solib_read_symbols to read in symbols.
+       (update_solib_list): Call observer_notify_solib_loaded.
+
+       * i386bsd-nat.c: Update copyright year.  Don't include
+       <sys/param.h> and <sys/user.h>.
+       (register_u_addr, kernel_u_size): Remove functions.
+       * config/i386/obsd.mh (NAT_FILE): Remove.
+       * config/i386/obsdaout.mh (NAT_FILE): Set to solib.h.
+       * config/i386/nm-obsd.h: Remove file.
+
+2005-01-12  Andrew Cagney  <cagney@gnu.org>
+
+       * exceptions.c: Include "gdb_string.h".
+       (enum catcher_state, struct catcher): Define.
+       (current_catcher): New global, replaces catch_return;
+       (catch_return): Delete.
+       (throw_exception): Use current_catcher->buf;
+       (catcher_init, catcher_pop, catcher_state_machine): New functions.
+       (catcher): Delete.
+       (struct catch_errors_args): Delete.
+       (do_catch_errors): Delete.
+       (catch_exceptions): Replace body with call to
+       catch_exceptions_with_msg.
+       (catcher): Delete.
+       (catch_exceptions_with_msg, catch_errors): Re-implement using
+       catcher_state_machine.
+
+       * exceptions.h (enum return_reason, RETURN_MASK)
+       (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL)
+       (return_mask, throw_exception, catch_exceptions_ftype)
+       (catch_exceptions_with_msg, catch_errors_ftype, catch_errors)
+       (catch_command_errors_ftype, catch_command_errors): Move to
+       exceptions.h.
+       * exceptions.c, exceptions.h: New files.
+       * top.c: Do not include <setjmp.h>.
+       (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return)
+       (throw_exception, catcher, catch_exceptions)
+       (catch_exceptions_with_msg, struct catch_errors_args)
+       (do_catch_errors, catch_errors, struct captured_command_args)
+       (do_captured_command, catch_command_errors): Move to exceptions.c.
+       * wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h".
+       * tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto.
+       * symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto.
+       * remote-sds.c, remote-mips.c, remote-fileio.c: Ditto.
+       * remote-e7000.c, objc-lang.c, ocd.c: Ditto.
+       * remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto.
+       * main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto.
+       * hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto.
+       * corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto.
+       * ada-valprint.c, ada-lang.c: Ditto.
+       * Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and
+       exceptions.o.  Update all dependencies.
+       
+2005-01-11  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/i386/nm-fbsd.h: Update copyright year.
+       Don't include "config/nm-bsd.h".
+       (KERNEL_U_SIZE): Remove macro.
+       (kernel_u_size): Remove prototype.
+
+       * config/vax/nbsdaout.mh (NAT_FILE): Remove.
+       * config/vax/nm-nbsdaout.h: Remove file.
+
+2005-01-10  Elena Zannoni  <ezannoni@redhat.com>
+
+       * MAINTAINERS: Remove self from sh/sh64 maintainership.
+
 2005-01-10  Andrew Cagney  <cagney@gnu.org>
 
        * MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit
This page took 0.030108 seconds and 4 git commands to generate.