aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2005-01-132005-01-13 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-0/+6
* 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 Cagney1-0/+15
* 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".
2005-01-132005-01-12 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-0/+20
* 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* i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h",Mark Kettenis1-0/+9
"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.
2005-01-12* bsd-uthread.h: New file.Mark Kettenis1-0/+6
* bsd-uthread.c: New file. * Makefile.in (bsd_uthread_h): New variable. (ALLDEPFILES): Add bsd-uthread.c. (bsd-uthread.o): New dependency.
2005-01-12* solib.h Update copyright year.Mark Kettenis1-0/+7
(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.
2005-01-12* i386bsd-nat.c: Update copyright year. Don't includeMark Kettenis1-0/+9
<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-122005-01-12 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-0/+15
* 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.
2005-01-122005-01-12 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-0/+28
* 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* config/i386/nm-fbsd.h: Update copyright year.Mark Kettenis1-0/+5
Don't include "config/nm-bsd.h". (KERNEL_U_SIZE): Remove macro. (kernel_u_size): Remove prototype.
2005-01-11* config/vax/nbsdaout.mh (NAT_FILE): Remove.Mark Kettenis1-0/+5
* config/vax/nm-nbsdaout.h: Remove file.
2005-01-112005-01-10 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-0/+4
* MAINTAINERS: Remove self from sh/sh64 maintainership.
2005-01-102005-01-10 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-0/+4
* MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux maintainer.
2005-01-102005-01-10 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-0/+3
* MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit changes to CRIS.
2005-01-102005-01-10 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-0/+5
* MAINTAINERS: Remove "Maintenance Only". Spell out that CAN COMMIT means can approve).
2005-01-10* vax-nat.c: Update copyright year. Include "inf-ptrace.h".Mark Kettenis1-0/+7
(vax_register_u_offset): Make statuc. (_initialize_vax_nat): Construct and add target vector. * config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and inftarg.o. Add inf-ptrace.o. * Makefile.in (vax-nat.o): Update dependencies.
2005-01-10* inf-ptrace.h: Update copyright year. Sync comment withMark Kettenis1-0/+14
inf-ptrace.c. (inf_ptrace_trad_target): New prototype. * inf-ptrace.c: Update copyright year. Include "regcache.h" and "gdb_assert.h" (inf_ptrace_target): Add comment. (inf_ptrace+register_u_offset): New variable. (inf_ptrace_fetch_register, inf_ptrace_fetch_registers) (inf_ptrace_store_register, inf_ptrace_store_registers) (inf_ptrace_trad_target): New functions. * Makefile.in (inf-ptrace.o): Update dependencies.
2005-01-09* configure.ac: Provide prerequisite headers when checkingMark Kettenis1-0/+6
<link.h>, <sys/proc.h> and <sys/user.h>. * configure: Regenerate.
2005-01-07* config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set toMark Kettenis1-0/+5
tm-ppc-eabi.h instead of the removed tm-nbsd.h.
2005-01-07* config/ia64/tm-linux.h: Tweak comment. Update copyright year.Mark Kettenis1-0/+8
Don't include "tm-ia64.h". * config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove. * config/ia64/tm-ia64.h: Remove. Move contents ... * ia64-tdep.h: ... here. Update copyright year.
2005-01-07Index: ChangeLogAndrew Cagney1-0/+3
2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: doc/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: gdbserver/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. Index: testsuite/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.ac: Rename configure.in, require autoconf 2.59. * configure: Re-generate. * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59. * gdb.stabs/configure: Re-generate. * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59. * gdb.hp/configure: Re-generate. * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require autoconf 2.59. * gdb.hp/gdb.objdbg/configure: Re-generate. * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require autoconf 2.59. * gdb.hp/gdb.defects/configure: Re-generate. * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require autoconf 2.59. * gdb.hp/gdb.compat/configure: Re-generate. * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require autoconf 2.59. * gdb.hp/gdb.base-hp/configure: Re-generate. * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require autoconf 2.59. * gdb.hp/gdb.aCC/configure: Re-generate.
2005-01-07Index: ChangeLogAndrew Cagney1-0/+4
2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*, xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm to configdirs.
2005-01-07Index: ChangeLogAndrew Cagney1-0/+6
2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.in: Replace configdirs with multiple references to AC_CONFIG_SUBDIRS. * configure: Re-generate. Index: doc/ChangeLog 2005-01-07 Andrew Cagney <cagney@gnu.org> * configure.in: Replace configdirs with multiple references to AC_CONFIG_SUBDIRS. * configure: Re-generate.
2005-01-05 * ia64-tdep.c: Include "osabi.h".Andreas Schwab1-0/+27
(native_find_global_pointer): Delete. (ia64_find_global_pointer): Renamed from generic_elf_find_global_pointer. (FIND_GLOBAL_POINTER): Delete. Change all users to call ia64_find_global_pointer instead. (ia64_gdbarch_init): Call gdbarch_init_osabi. Remove references to ia64_linux_sigcontext_register_address and ia64_linux_write_pc. Don't set tdep->find_global_pointer. (_initialize_ia64_tdep): Call gdbarch_register instead of deprecated register_gdbarch_init. (struct gdbarch_tdep): Remove find_global_pointer field and move to ... * ia64-tdep.h (struct gdbarch_tdep): ... here. (ia64_linux_sigcontext_register_address): Remove declaration. (ia64_linux_getunwind_table): Likewise. (ia64_linux_write_pc): Likewise. * ia64-linux-tdep.c: Include "osabi.h". (ia64_linux_sigcontext_register_address): Make static. (ia64_linux_write_pc): Likewise. (ia64_linux_init_abi): New. (_initialize_ia64_linux_tdep): New. * Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on $(osabi_h).
2005-01-05Eliminate ia64-aix-tdep.c.Kevin Buettner1-0/+11
2005-01-052005-01-05 Baurjan Ismagulov <ibr@ata.cs.hun.edu.tr>Andrew Cagney1-0/+18
Committed by Andrew Cagney. * ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup. * alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup. * amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup. * arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup. * armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup. * aix-thread.c (_initialize_aix_thread): Get rid of the deprecated_add_show_from_set call. * alpha-tdep.c (_initialize_alpha_tdep): Ditto. * arm-tdep.c (_initialize_arm_tdep): Ditto. * command.h (add_setshow_enum_cmd): Add arguments for returning new list elements. * cli/cli-decode.c (add_setshow_enum_cmd): Ditto. * mips-tdep.c (_initialize_mips_tdep): Modify calls to add_setshow_enum_cmd.
2005-01-04* configure.host (ia64-*-aix*): Remove.Mark Kettenis1-0/+8
* configure.tgt (ia64-*-aix*): Remove. * config/ia64/aix.mh: Remove file. * config/ia64/aix.mt: Remove file. * config/ia64/tm-aix.h: Remove file. * ia64-aix-nat.c: Remove file. * Makefile.in (ia64-aix-nat.o): Remove dependency.
2005-01-04* config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.Mark Kettenis1-0/+5
Add back inf-ptrace.o.
2005-01-042005-01-04 Andrew Cagney <cagney@gnu.org>Andrew Cagney1-0/+5
* version.in: Change format from 6.3.50_2005-01-04-cvs to 6.3.50.20050104-cvs.
2005-01-04 * breakpoint.c (break_command_1): Always free err_msg beforeAndreas Schwab1-0/+5
returning when an exception was caught.
2005-01-032005.Andrew Cagney1-15220/+1
2005-01-01 * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusionJoel Brobecker1-0/+5
in register number for addil instruction.
2004-12-28* remote.c (fetch_register_using_p): Recognize a register valueJim Blandy1-0/+5
starting with 'x' as indicating an unfetchable register.
2004-12-27* config/mips/obsd64.mh (NATDEPFILES): Unwrap line.Mark Kettenis1-0/+4
2004-12-26* inftarg.c (child_xfer_partial): Remove code that handlesMark Kettenis1-0/+5
TARGET_OBJ_WCOOKIE.
2004-12-25* inftarg.c (child_create_inferior) [HPUXHPPA]: Remove code.Mark Kettenis1-0/+4
2004-12-24* target.h (TARGET_DISABLE_HW_WATCHPOINTS)Mark Kettenis1-0/+14
(TARGET_ENABLE_HW_WATCHPOINTS): Remove macros. * infrun.c (struct execution_control_state): Remove enable_hw_watchpoints_after_wait member. (number_of_threads_in_syscalls): Remove variable. (init_wait_for_inferior): Don't initialize number_of_threads_in_syscalls. (init_execution_control_state): Don't initialize ECS->enable_hw_watchpoints_after_wait. (handle_inferior_event): Never invoke TARGET_ENABLE_HW_WATCHPOINTS or TARGET_DISABLE_HW_WATCHPOINTS.
2004-12-23* i386-nto-tdep.c: Reorder include files.Mark Kettenis1-0/+8
(i386nto_svr4_fetch_link_map_offsets): Remove function. (init_i386nto_ops, i386nto_init_abi): Use svr4_ilp32_fetch_link_map_offsets instead of i386nto_svr4_fetch_link_map_offsets.
2004-12-21* hppa-tdep.c (hppa_frame_prev_register_helper): Make 64-bit safe.Mark Kettenis1-0/+4
2004-12-21* hppa-tdep.c (hppa64_return_value): Fix previous commit.Mark Kettenis1-0/+4
2004-12-21* hppa-tdep.c (hppa32_return_value): Move further down.Mark Kettenis1-0/+5
(hppa64_return_value): Re-implement.
2004-12-21* remote.c (fetch_register_using_p): Fix formatting.Jim Blandy1-0/+4
2004-12-21* ada-lang.c (ada_print_subexp): Remove i18n markup from Ada codePaul N. Hilfinger1-0/+9
output. * ada-typeprint.c (ada_typedef_print): Ditto. (print_unchecked_union_type): Ditto. (print_record_type): Ditto, and correct output for non-derived types that was inadvertently left off during the markup.
2004-12-19* hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence): CheckMark Kettenis1-0/+4
whether the name returned by find_pc_partial_function is a null pointer, not whether it is an empty string.
2004-12-19* hppa-tdep.h (hppa_regnum): Add HPPA_DP_REGNUM, HPPA_RET0_REGNUM,Mark Kettenis1-0/+17
HPPA_RET1_REGNUM and HPPA64_FP4_REGNUM. * hppa-tdep.c (hppa64_integral_or_pointer_p) (hppa64_floating_p) New functions. (hppa64_push_dummy_call): Re-implement. (hppa32_register_type): Rename argument reg_nr to regnum. (hppa64_register_type): Likewise. Use HPPA64_FP4_REGNUM instead of HPPA_FP4_REGNUM. (hppa32_cannot_store_register): Renamed from hppa_cannot_store_register. (hppa64_cannot_store_register): New function. (hppa_gdbarch_init): Set cannot_store_register and cannot_fetch_register to hppa32_cannot_store_register or hppa64_cannot_store_register when appropriate.
2004-12-18* hppah-nat.c: Remove file.Mark Kettenis1-0/+11
* infttrace.h: Remove file. * infttrace.c: Remove file. * Makefile.in (ALLDEPFILES): Remove hppah-nat.c (infttrace_h): Remove variable. (hppah-nat.o, infttrace.o): Remove dependencies. * configure.host (hppa*64*-*-hpux11*): Remove. * config/pa/hpux11w.mh: Remove file. * config/pa/nm-hppah.h: Remove file. * config/pa/nm-hppah11.h: Remove file.
2004-12-18* config/djgpp/fnchange.lst: Resolve name clash betweenMark Kettenis1-0/+8
../bfd/elf32-arm.c and ../bfd/elf32-arc.c, i386-sol2-nat.c and i386-sol2-tdep.c, mips64obsd-nat.c and mips64obsd-tdep.c, testsuite/gdb.base/bitfields.c and testsuite/gdb.base/bitfields2.c, testsuite/gdb.base/bitfields.exp and testsuite/gdb.base/bitfields2.exp. Remove entry for config/m88k/xm-delta88v4.h.
2004-12-18* solib-pa64.c: Only include <dlfcn.h>, <elf.h> and <elf_hp.h> ifMark Kettenis1-0/+3
PA_SOM_ONLY isn't defined.
2004-12-18* somread.c: Include "solib-som.h".Mark Kettenis1-0/+8
(som_symfile_init, som_new_init, som_symfile_read, som_symfile_finish, som_symtab_read, som_symfile_offsets): Remove redudant prototypes. * Makefile.in (somread.o): Update dependencies.
2004-12-17* remote.c (fetch_register_using_p): Indentation cleanup.Jim Blandy1-0/+4