aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2005-01-182005-01-18 Andrew Cagney <cagney@gnu.org>Andrew Cagney7-63/+59
* target.h (struct target_ops): Change return type of to_insert_fork_catchpoint, to_insert_vfork_catchpoint and to_insert_exec_catchpoint to void. (child_insert_fork_catchpoint, child_insert_vfork_catchpoint) (child_insert_exec_catchpoint): Change return type to void. * target.c (update_current_target): Update. (debug_to_insert_fork_catchpoint) (debug_to_insert_vfork_catchpoint) (debug_to_insert_exec_catchpoint): Update. * inf-child.c (inf_child_insert_fork_catchpoint) (inf_child_insert_vfork_catchpoint) (inf_child_insert_exec_catchpoint): Update. * breakpoint.c (insert_catchpoint): Update, do not throw an error. * linux-nat.c (child_insert_fork_catchpoint) (child_insert_vfork_catchpoint) (child_insert_exec_catchpoint): Update. * inftarg.c (child_insert_fork_catchpoint) (child_insert_vfork_catchpoint,) (child_insert_exec_catchpoint): Update.
2005-01-182005-01-18 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-3/+5
* remote.c (remote_open_1): Use throw_exception.
2005-01-18*** empty log message ***gdbadmin1-1/+1
2005-01-172005-01-17 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+5
* gdb.texinfo: Fix spelling, infinte -> infinite.
2005-01-172005-01-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-72/+107
* mips-linux-tdep.c: Whitespace tweaks.
2005-01-17 * infcmd.c (attach_command): Call CLEAR_SOLIB if available.Corinna Vinschen2-0/+24
2005-01-172005-01-17 Andrew Cagney <cagney@gnu.org>Andrew Cagney5-67/+25
* top.h (source_error, source_pre_error): Delete declaration. * cli/cli-script.c (source_error_allocated, source_error): Delete. (script_from_file, source_cleanup_lines): Do not manipulate source_error_allocated, error_pre_print and source_error. (struct source_cleanup_lines_args): Delete fields old_pre_error, and old_error_pre_print. * top.c (source_error_allocated, source_error) (source_pre_error): Delete. (command_line_input): Do not set error_pre_print. * event-top.c (command_line_handler): Do not set error_pre_print.
2005-01-172005-01-16 Jason Thorpe <thorpej@netbsd.org>Jason Thorpe2-2/+6
* MAINTAINERS: Update my email address.
2005-01-17*** empty log message ***gdbadmin1-1/+1
2005-01-16* configure.ac: Provide prerequisite headers when checkingMark Kettenis2-1/+10
<term.h>. * configure: Regenerate.
2005-01-16* amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h"Mark Kettenis5-5/+85
and "bsd-uthread.h". (amd64fbsd_jmp_buf_reg_offset): New variable. (amd64fbsd_supply_uthread, amd64fbsd_collect_uthread): New functions. (amd64fbsd_init_abi): Set supply_uthread and collect_uthread. * i386fbsd-tdep.c: Fix typo. * Makefile.in (amd64fbsd-tdep.o): Update dependencies. * config/i386/fbsd64.mt (TDEPFILES): Add bsd-uthread.o.
2005-01-162005-01-16 Andrew Cagney <cagney@gnu.org>Andrew Cagney6-21/+64
* cli/cli-script.c: Include "exceptions.h". (struct wrapped_read_command_file_args): Define. (wrapped_read_command_file): New function. (script_from_file): Replace direct call to read_command_file by one wrapped by an exception handler. * exceptions.c (throw_it): Free the old message after creating the new. * Makefile.in: Update dependencies. Index: testsuite/ChangeLog 2005-01-16 Andrew Cagney <cagney@gnu.org> * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
2005-01-16* sparc64fbsd-tdep.c: Update copyright year.Mark Kettenis2-3/+27
(sparc64fbsd_collect_gregset, sparc64fbsd_collect_fpregset): New functions. (sparc64fbsd_init_abi): Create register sets with collect functions.
2005-01-162005-01-16 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-0/+75
* gdb.base/source-error.gdb, gdb.base/source.exp: New files.
2005-01-16* sparc64fbsd-nat.c: Include "fbsd-nat.h".Mark Kettenis5-39/+22
(_initialize_sparc64fbsd_nat): Add some extra features to the generic SPARC target. * Makefile.in (sparc64fbsd-nat.o): Update dependencies. * config/sparc/fbsd.mh (NATDEPFILES): Add fbsd-nat.o and gcore.o. (NAT_FILE): Set to solib.h. * config/sparc/nm-fbsd.h: Remove file.
2005-01-16* sparc64-tdep.c (sparc64_store_arguments): Fix typo.Mark Kettenis2-1/+3
2005-01-16* sparc-tdep.c (sparc_integral_or_pointer_p): Simplify.Mark Kettenis2-14/+12
2005-01-162005-01-16 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-18/+14
* 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* Makefile.in (sparc64fbsd-nat.o): Update dependencies.Mark Kettenis3-3/+9
* sparc64fbsd-nat.c: Update copyright year. Include "target.h".
2005-01-16*** empty log message ***gdbadmin1-1/+1
2005-01-152005-01-15 Andrew Cagney <cagney@gnu.org>Andrew Cagney4-1009/+78
* acinclude.m4: Include ../bfd/bfd.m4 instead of ../bfd/acinclude.m4. Include ../gettext.m4. * aclocal.m4, configure: Re-generate.
2005-01-152005-01-15 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-28/+12
* exceptions.c (do_captured_command) (struct captured_command_args): Delete. (catch_command_errors): Simplify by inlining call to catch_errors.
2005-01-152005-01-15 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-18/+19
* 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-152005-01-14 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-34/+52
* 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.
2005-01-152005-01-14 Andrew Cagney <cagney@gnu.org>Andrew Cagney2-39/+29
* 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.
2005-01-152005-01-14 Andrew Cagney <cagney@gnu.org>Andrew Cagney6-6/+15
* 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-152005-01-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+6
* ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions.
2005-01-15*** empty log message ***gdbadmin1-1/+1
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-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 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-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.