aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2005-01-142005-01-14 Andrew Cagney <cagney@gnu.org>Andrew Cagney9-15/+24
* 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.
2005-01-14daily updateAlan Modra1-1/+1
2005-01-142005-01-14 Andrew Cagney <cagney@gnu.org>Andrew Cagney7-53/+84
* 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.
2005-01-142005-01-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
PR 659 * config/tc-i386.c (i386_scale): Disallow 0 scale.
2005-01-142005-01-14 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-17/+3
* utils.c (error_output_message): Delete function. * defs.h (error_output_message): Delete declaration.
2005-01-142005-01-14 Andrew Cagney <cagney@gnu.org>Andrew Cagney7-92/+68
* 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.
2005-01-14Index: arm/ChangeLogAndrew Cagney40-3291/+36457
2005-01-14 Andrew Cagney <cagney@gnu.org> * configure.ac: Sinclude aclocal.m4 before common.m4. Add explicit call to AC_CONFIG_HEADER. * configure: Regenerate. Index: common/ChangeLog 2005-01-14 Andrew Cagney <cagney@gnu.org> * configure.ac: Replace SIM_AC_COMMON with sinclude of common.m4. Add explicit call to AC_CONFIG_HEADER. * common.m4: Delete call to AC_CONFIG_HEADER, update usage. * configure: Re-generate. Index: d10v/ChangeLog 2005-01-14 Andrew Cagney <cagney@gnu.org> * configure.ac: Sinclude aclocal.m4 before common.m4. Add explicit call to AC_CONFIG_HEADER. * configure: Regenerate. Index: erc32/ChangeLog 2005-01-14 Andrew Cagney <cagney@gnu.org> * configure.ac: Sinclude aclocal.m4 before common.m4. Add explicit call to AC_CONFIG_HEADER. * configure: Regenerate. Index: frv/ChangeLog 2005-01-14 Andrew Cagney <cagney@gnu.org> * configure.ac: Sinclude aclocal.m4 before common.m4. Add explicit call to AC_CONFIG_HEADER. * configure: Regenerate. Index: h8300/ChangeLog 2005-01-14 Andrew Cagney <cagney@gnu.org> * configure.ac: Sinclude aclocal.m4 before common.m4. Add explicit call to AC_CONFIG_HEADER. * configure: Regenerate. Index: m32r/ChangeLog 2005-01-14 Andrew Cagney <cagney@gnu.org> * configure.ac: Sinclude aclocal.m4 before common.m4. Add explicit call to AC_CONFIG_HEADER. * configure: Regenerate. Index: m68hc11/ChangeLog 2005-01-14 Andrew Cagney <cagney@gnu.org> * configure.ac: Sinclude aclocal.m4 before common.m4. Add explicit call to AC_CONFIG_HEADER. * configure: Regenerate. Index: mcore/ChangeLog 2005-01-14 Andrew Cagney <cagney@gnu.org> * configure.ac: Sinclude aclocal.m4 before common.m4. Add explicit call to AC_CONFIG_HEADER. * configure: Regenerate. Index: mips/ChangeLog 2005-01-14 Andrew Cagney <cagney@gnu.org> * configure.ac: Sinclude aclocal.m4 before common.m4. Add explicit call to AC_CONFIG_HEADER. * configure: Regenerate. Index: mn10300/ChangeLog 2005-01-14 Andrew Cagney <cagney@gnu.org> * configure.ac: Sinclude aclocal.m4 before common.m4. Add explicit call to AC_CONFIG_HEADER. * configure: Regenerate. Index: sh/ChangeLog 2005-01-14 Andrew Cagney <cagney@gnu.org> * configure.ac: Sinclude aclocal.m4 before common.m4. Add explicit call to AC_CONFIG_HEADER. * configure: Regenerate. Index: v850/ChangeLog 2005-01-14 Andrew Cagney <cagney@gnu.org> * configure.ac: Sinclude aclocal.m4 before common.m4. Add explicit call to AC_CONFIG_HEADER. * configure: Regenerate.
2005-01-142005-01-13 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-19/+91
* 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.
2005-01-14Index: ChangeLogAndrew Cagney5-7/+19
2005-01-14 Andrew Cagney <cagney@gnu.org> * varobj.c (varobj_create): Add missing \n. Index: testsuite/ChangeLog 2005-01-14 Andrew Cagney <cagney@gnu.org> * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output. * gdb.mi/mi2-var-cmd.exp: Ditto.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-3/+4
* cli/cli-decode.h: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-187/+254
* wince.c: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-76/+77
* uw-thread.c: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-4/+6
* utils.c: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder1-2/+2
* solist.h: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder3-129/+180
* tracepoint.[ch]: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-22/+26
* somsolib.[ch]: Whitespace tweaks.
2005-01-14Fix ChangeLog foobar.Andrew Cagney1-17/+22
2005-01-142005-01-13 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-4/+6
* exceptions.h (struct exception): Make message const. * mi/mi-main.c (mi_execute_command): Pass result.message directly to fputstr_unfiltered.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-2/+6
* stack.c: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder10-17/+25
* solib-aix.c: Whitespace tweaks. * solib.c: Whitespace tweaks. * solib-frv.c: Whitespace tweaks. * solib.h: Whitespace tweaks. * solib-irix.c: Whitespace tweaks. * solib-som.c: Whitespace tweaks. * solib-sunos.c: Whitespace tweaks. * solib-svr4.[ch]: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder4-33/+38
* ser-tcp.c: Whitespace tweaks. * ser-unix.c: Whitespace tweaks. * serial.h: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-3/+7
* scm-valprint.c: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder3-12/+17
* rs6000-nat.c: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-297/+344
* remote.c: Whitespace tweaks.
2005-01-142005-01-13 Andrew Cagney <cagney@gnu.org>Andrew Cagney7-84/+120
* defs.h (error_last_message, error_init): Delete declaration. * utils.c (fatal, vfatal): Call throw_vfatal. (error, verror): Call throw_verror; (do_write, error_stream_1): Delete function. (error_stream): Simplify, call error. (error_last_message, error_init, gdb_lasterr): Delete. (error_silent): Simplify, call throw_vsilent. * mi/mi-interp.c (mi_cmd_interpreter_exec): Dup the message. * main.c (captured_main): Delete call to error_init. * exceptions.c (throw_verror, throw_verror) (throw_vsilent): New functions. (do_write, print_and_throw): New functions. (last_message): New global. (throw_reason): Replace error_last_message with last_message. (catch_exceptions_with_msg): Dup the message. * exceptions.h (throw_verror, throw_vfatal, throw_vsilent): Declare.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+2
* remote-st.c: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+2
* remote-sim.c: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-2/+5
* remote-mips.c: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder3-11/+12
* pa64solib.[ch]: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+2
* mdebugread.c: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-4/+5
* main.c: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-8/+8
* interps.c: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-8/+14
* infrun.c: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-2/+4
* infcmd.c: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+2
* hpux-thread.c: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-20/+24
* hppa-hpux-tdep.c: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-2/+3
* gdbcore.h: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-13/+14
* gdbcmd.h: Whitespace tweaks.
2005-01-142005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder4-33/+35
* gdb-events[.c, .h, .sh]: Whitespace tweaks.
2005-01-14*** empty log message ***gdbadmin1-1/+1
2005-01-132005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-3/+5
* corefile.c: Whitespace tweaks.
2005-01-132005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-3/+5
* completer.c: Whitespace tweaks.
2005-01-132005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder3-8/+10
* coff-solib.c: Whitespace tweaks. * coff-solib.h: Whitespace tweaks.
2005-01-132005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-6/+7
* cli-out.c: Whitespace tweaks.
2005-01-132005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-7/+9
* breakpoint.c: Whitespace tweaks.
2005-01-132005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-5/+9
* cli/cli-interp.c: Tweak comments, per coding standard.
2005-01-13daily updateAlan Modra1-1/+1
2005-01-132005-01-13 Andrew Cagney <cagney@gnu.org>Andrew Cagney7-42/+63
* 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.
2005-01-132005-01-13 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-9/+16
* 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-132005-01-12 Andrew Cagney <cagney@gnu.org>Andrew Cagney9-33/+63
* 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".