aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2005-05-15./Daniel Jacobowitz2-1/+5
* ylwrap: Import from Automake 1.9.5. binutils/ * acinclude.m4: Remove obsolete code. * configure.in: Update AC_PREREQ. * doc/Makefile.am (binutils_TEXINFOS): Define. (config.texi): Depend on distributed files instead of built files. (binutils.dvi, binutils.info): Remove unnecessary rules. (DISTCLEANFILES): Remove. (install-data-local): Renamed from install. (info-local): Renamed from info. * Makefile.in, aclocal.m4, config.in, configure, doc/Makefile.in: Regenerated. gas/ * Makefile.am (m68k-parse.c, itbl-parse.c): Update ylwrap invocation. * Makefile.in: Regenerated. ld/ * Makefile.am (AM_MAKEINFOFLAGS): Define. (TEXI2DVI): Define. (ldver.texi): Depend on distributed files instead of built files. (ld.info): Include $(srcdir) in the rule target. Remove actions. (ld.dvi): Remove actions. (MAINTAINERCLEANFILES): Add configdoc.texi. (CONFIG_STATUS_DEPENDENCIES): Add bfd/configure.in. (install-data-local): Renamed from install. (Makefile): Remove explicit dependency. * acinclude.m4: Remove obsolete code. * configure.in: Update AC_PREREQ. Remove extra $CONFIG_SHELL. * Makefile.in, aclocal.m4, config.in, configure: Regenerated. gdb/ * Makefile.in (.y.c): Update ylwrap invocation.
2005-05-15 * linux-nat.c (child_follow_fork, linux_handle_extended_wait)Daniel Jacobowitz2-18/+24
(lin_lwp_attach_lwp, linux_nat_attach, wait_lwp, child_wait) (linux_nat_wait, kill_wait_callback): Use my_waitpid. (_initialize_linux_nat, lin_thread_get_thread_signals): Use SA_RESTART.
2005-05-15*** empty log message ***gdbadmin1-1/+1
2005-05-14* configure.tgt (vax-*-openbsd*): Set gdb_target to obsd.Mark Kettenis3-1/+6
* config/vax/obsd.mt (TDEPFILES): New file.
2005-05-14* i386-tdep.c (i386_supply_gregset, i386_collect_gregset): UseMark Kettenis2-2/+5
gdb_byte instead of bfd_byte.
2005-05-14* mips-tdep.c (mips_pseudo_register_read)Mark Kettenis2-48/+76
(mips_pseudo_register_write): Change type of last argument to `gdb_byte *'. (mips_register_to_value, mips_value_to_register): Change type of last argument to `gdb_byte *'. Remove casts that are no longer needed. (mips_fetch_instruction, fetch_mips_16): Use gdb_byte for buf. (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) (mips_o32_push_dummy_call, mips_o32_return_value): Use `const gdb_byte *' for val and gdb_byte for valbuf. Remove casts that are no longer needed. (mips_eabi_return_value, mips_n32n64_return_value) (mips_o32_return_value, mips_o64_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. (mips_read_fp_register_single): Change type of last argument to `gdb_byte *'. Use `gdb_byte *' for raw_buffer. (mips_read_fp_register_double): Change type of last argument to `gdb_byte *'. (mips_print_fp_register): Use `gdb_byte *' for raw_buffer. Remove casts that are no longer needed. (mips_print_register, print_gp_register_row): Use gdb_byte for raw_buffer. Remove casts that are no longer needed. (mips_single_step_through_delay): Use gdb_byte for buf. (mips_breakpoint_from_pc): Change return type to `const gdb_byte *'. Use gdb_byte for mips16_big_breakpoint, big_breakpoint, pmon_big_breakpoint, idt_big_breakpoint, mips16_little_breakpoint, little_breakpoint, pmon_little_breakpoint and idt_little_breakpoint. (mips_integer_to_address): Use `gdb_byte *' for tmp.
2005-05-14* config/m68k/obsd.mt (DEPRECATED_TM_FILE): Remove.Mark Kettenis7-6/+7
* config/i386/obsd.mt (DEPRECATED_TM_FILE): Remove. * config/i386/obsd64.mt (DEPRECATED_TM_FILE): Remove. * config/pa/obsd.mt (DEPRECATED_TM_FILE): Remove. * config/sparc/obsd.mt (DEPRECATED_TM_FILE): Remove. * config/sparc/obsd64.mt (DEPRECATED_TM_FILE): Remove.
2005-05-14* sparc-tdep.c (sparc_fetch_instruction, sparc_fetch_wcookie): UseMark Kettenis3-53/+88
gdb_byte for buf. (sparc32_pseudo_register_read, sparc32_pseudo_register_write): Change type of last argument to `gdb_byte *'. Remove casts that are no longer needed. (sparc32_push_dummy_code, sparc32_store_arguments): Use gdb_byte for buf. (sparc_breakpoint_from_pc): Change return type to `const gdb_byte *'. Use gdb_byte for break_insn. (sparc32_extract_return_value, sparc32_store_return_value): Change type of last argument to `gdb_byte *'. Use gdb_byte for buf. (sparc32_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. (sparc_software_single_step): Use gdb_byte for npc_save and nnpc_save. (sparc_supply_rwindow, sparc_collect_rwindow): Use gdb_byte for buf. (sparc32_supply_gregset, sparc32_collect_gregset) (sparc32_supply_fpregset, sparc32_collect_fpregset): Use `gdb_byte *' for regs. * sparc64-tdep.c (sparc64_pseudo_register_read) (sparc64_pseudo_register_write): Change type of last argument to `gdb_byte *'. Remove casts that are no longer needed. (sparc64_store_floating_fields, sparc64_extract_floating_fields): Change type of valbuf argument to `gfd_byte *'. (sparc64_store_arguments): Use `gdb_byte *' for valbuf. use gdb_byte for buf. (sparc64_extract_return_value, sparc64_store_return_value): Change type of last argument to `gdb_byte *'. Use gdb_byte for buf. (sparc64_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. (sparc64_supply_gregset, sparc64_collect_gregset) (sparc64_supply_fpregset, sparc64_collect_fpregset): Use `gdb_byte *' for regs.
2005-05-14* m68k-tdep.c (m68k_local_breakpoint_from_pc): Change return typeMark Kettenis3-29/+49
to `const gdb_byte *'. Use gdb_byte for break_insn. (m68k_register_to_value): Change type of last argument to `gdb_byte *'. Use gdb_byte for from. (m68k_value_to_register): Change type of last argument to `gdb_byte *'. Use gdb_byte for to. (m68k_extract_return_value): Change type of last argument to `gdb_byte *'. Use gdb_byte for buf. Remove unnecessary cast. (m68k_svr4_extract_return_value): Change type of last argument to `gdb_byte *'. Use gdb_byte for buf. (m68k_store_return_value): Change type of last argument to `gdb_byte *'. Remove unnecessary cast. (m68k_svr4_store_return_value): Change type of last argument to `gdb_byte *'. Use gdb_byte for buf. (m68k_return_value, m68k_svr4_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. (m68k_push_dummy_call, m68k_unwind_pc, m68k_frame_cache) (m68k_unwind_dummy_id): Use gdb_byte for buf. (m68k_get_longjmp_target): Use `gdb_byte *' for buf. * m68kbsd-tdep.c (m68kbsd_supply_fpregset) (m68kbsd_supply_gregset): Use `gdb_byte *' for regs.
2005-05-14* m88k-tdep.c (m88k_breakpoint_from_pc): Change return type toMark Kettenis2-6/+12
`const gdb_byte *'. Use gdb_byte for break_insn. (m88k_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. Use gdb_byte for buf. (m88k_supply_gregset): Use `gdb_byte *' for regs.
2005-05-14* vax-tdep.c (vax_return_value): Change type of readbuf andMark Kettenis2-2/+5
writebuf arguments to `gdb_byte *'.
2005-05-14* amd64-tdep.c (amd64_return_value): Change type of readbuf andMark Kettenis5-19/+31
writebuf arguments to `gdb_byte *'. Remove now redundant casts. * i386-tdep.c (i386_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. (i386_pseudo_register_read, i386_pseudo_register_write): Change type of last argument to `gdb_byte *'. (i386_register_to_value, i386_value_to_register): Change type of last argument to `gdb_byte *'. Simplify function a bit. * i387-tdep.h (i387_value_to_register, i387_register_to_value): Change type of last argument to `gdb_byte *'. * i387-tdep.c: Likewise.
2005-05-14Remove XM_FILE.Eli Zaretskii1-2/+0
2005-05-142005-05-13 Andrew Cagney <cagney@gnu.org>Andrew Cagney8-51/+69
* gdbarch.sh (pseudo_register_read, pseudo_register_write) (value_to_register, register_to_value, pointer_to_address) (address_to_pointer, return_value, extract_return_value) (store_return_value): Instead of a void pointer, use gdb_byte. * gdbarch.h, gdbarch.c: Regenerate. * inferior.h (unsigned_address_to_pointer) (signed_pointer_to_address, address_to_signed_pointer) (unsigned_pointer_to_address): Update. * arch-utils.h (legacy_return_value): * arch-utils.c (legacy_extract_return_value) (legacy_return_value): Update. * findvar.c (unsigned_pointer_to_address) (signed_pointer_to_address, unsigned_address_to_pointer) (address_to_signed_pointer): Update.
2005-05-14*** empty log message ***gdbadmin1-1/+1
2005-05-13Revert accidentally committed change.Jim Blandy1-5/+5
2005-05-13* gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead ofJim Blandy5-9/+19
calling gdb_suppress_entire_file. * gdb.base/charset.exp: Same. * gdb.base/call-rt-st.exp: Same.
2005-05-132005-05-13 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-3/+12
* cris-tdep.c (_initialize_cris_tdep): Improve help strings for cris-version, cris-mode, and cris-dwarf2-cfi settings.
2005-05-132005-05-13 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-9/+89
* cris-tdep.c (usr_cmd_cris_version): Change type to int. (cris_mode_normal, cris_mode_guru, cris_modes, usr_cmd_cris_mode): Add. (struct gdbarch_tdep): Change type of cris_version to int. Add cris_mode. (cris_mode, set_cris_mode): New functions. (crisv32_single_step_through_delay): Read from NRP register instead of ERP register in guru mode. (cris_breakpoint_from_pc): Rename break_insn to break8_insn. Add break15_insn, returned in guru mode. (_initialize_cris_tdep): Add call to add_setshow_enum_cmd for new cris-mode setting. (cris_dump_tdep): Add dump of cris_mode. (cris_gdbarch_init): Add cris_mode to search criteria for architecture. Register the sigtramp frame sniffer only if not in guru mode.
2005-05-13*** empty log message ***gdbadmin1-1/+1
2005-05-12*** empty log message ***Eli Zaretskii1-0/+19
2005-05-12* sol-thread.c: Include "solib.h".Mark Kettenis3-4/+9
(sol_thread_attach): Use solib_add instead of SOLIB_ADD. * Makefile.in (sol-thread.o): Update dependencies.
2005-05-12 * Makefile.in (go32-nat.o): Add $(top_h) to prerequisites.Eli Zaretskii5-31/+21
* go32-nat.c: Include top.h. Update copyright years. (init_go32_ops): Override the default value of gdbinit[] with "gdb.ini". * cli/cli-cmds.c (init_cli_cmds): Use gdbinit[] instead of a compile-time literal string GDBINIT_FILENAME. * top.c (PATH_MAX): Define if not defined. (gdbinit): Declare with a constant size PATH_MAX. * config/i386/go32.mh (XM_FILE): Remove. * config/i386/xm-go32.h: Remove file.
2005-05-12* NEWS: Mention OpenBSD/mips64 as a new native configuration.Mark Kettenis2-0/+8
2005-05-12 * observer.sh (texi) [DJGPP]: If the file name includes a colon,Eli Zaretskii2-0/+12
convert it to the /dev/x/ form.
2005-05-12* solib.h (CLEAR_SOLIB, SOLIB_ADD)Mark Kettenis11-136/+143
(SOLIB_CREATE_INFERIOR_HOOK, SOLIB_REMOVE_INFERIOR_HOOK) (SOLIB_IN_DYNAMIC_LINKER, SOLIB_RESTART) (DISABLE_UNSETTABLE_BREAK, PC_SOLIB) (IN_SOLIB_DYNSYM_RESOLVE_CODE): Remove defines and orphaned comments. * breakpoint.c: Include "solib.h". (insert_bp_location) [!DISABLE_UNSETTABLE_BREAK]: Call solib_address. (remove_solib_event_breakpoints, create_solib_event_breakpoint) (disable_breakpoints_in_shlibs) (disable_breakpoints_in_unloaded_shlib) (re_enable_breakpoints_in_shlibs): Compile if SOLIB_ADD isn't defined. If PC_SOLIB isn't defined, call solib_address. (_initialize_breakpoint): Unconditionally install observer. * corelow.c: Include "solib.h". [SOLIB_ADD] (solib_add_stub): Remove prototype. (core_close) [!CLEAR_SOLIB]: Call clear_solib. (solib_add_stub) [!SOLIB_ADD] Call solib_add. (core_open): Unconditionally call solib_add_stub. * fork-child.c: Include "solib.h". (fork_inferior) [!SOLIB_CREATE_INFERIOR_HOOK]: Call solib_create_inferior_hook. * infcmd.c: Include "solib.h". (attach_command) [!SOLIB_ADD]: Call shlib_rescan. Unconditionally call re_enable_breakpoints_in_shlibs. * infrun.c: Include "solib.h". (SOLIB_IN_SYNSYM_RESOLVE_CODE): Don't define if not already defined. (stop_on_solib_events, show_stop_on_solib_events): Include unconditionally. (follow_exec) [!SOLIB_CREATE_INFERIOR_HOOK]: Call solib_create_inferior_hook. (handle_inferior_event) [!SOLIB_ADD]: Call shlib_add. [!IN_SOLIB_DYNSYM_RESOLVE_CODE]: Call in_solib_dynsym_resolve_code. (_initialize_infrun): Unconditionally add "stop_on_solib-events" command. * remote.c: Include "solib.h". (remote_open_1): Unconditionally call no_shared_libraries. [!SOLIB_CREATE_INFERIOR_HOOK] Call solib_create_inferior_hook. * stack.c: Include "solib.h". (print_frame) [!PC_SOLIB] Call shlib_for_pc. * xcoffsolib.c (no_shared_libraries): Remove function. * Makefile.in (SFILES): Add solib.c. (ALLDEPFILES): Remove solib.c. (COMMON_OBS): Add solib.o. (breakpoint.o, corelow.o, fork-chiled.o, infcmd.o, infrun.o) (remote.o, stack.o): Update dependencies.
2005-05-12 * cp-names.y: Renamed to ...Daniel Jacobowitz3-10/+23
* cp-name-parser.y: ... this. * Makefile.in (SFILES, YYFILES, YYOBJ): Rename cp-names.y to cp-name-parser.y. (test-cp-names.o): Renamed to test-cp-name-parser.o. (test-cp-names): Renamed to test-cp-name-parser. (clean, local-maintainer-clean): Update. (cp-names.o): Renamed to cp-name-parser.o.
2005-05-12 * observer.sh: Use observer.tmp instead of observer.inc-tmp whichEli Zaretskii2-11/+16
on 8+3 filesystems overwrites observer.inc. Update copyright year of the resultant file.
2005-05-12 * gnu-v3-abi.c (init_gnuv3_ops): Cast is_gnu_v3_mangled_dtor andEli Zaretskii2-2/+7
is_gnu_v3_mangled_ctor to avoid compiler warnings.
2005-05-122005-05-12 Orjan Friberg <orjanf@axis.com>Orjan Friberg6-1/+168
* target.h (struct target_ops): Add insert_watchpoint, remove_watchpoint, stopped_by_watchpoint, stopped_data_address function pointers for hardware watchpoint support. * linux-low.h (struct linux_target_ops): Ditto. * linux-low.c (linux_insert_watchpoint, linux_remove_watchpoint) (linux_stopped_by_watchpoint, linux_stopped_data_address): New. Add to linux_target_ops. * remote-utils.c (prepare_resume_reply): Add watchpoint information to reply packet. * server.c (main): Recognize 'Z' and 'z' packets.
2005-05-12 * gdb.texinfo (Startup): Fix last change. Treat gdb.ini like weEli Zaretskii2-11/+19
do with other non-standard names of init files.
2005-05-12 * config/djgpp/config.sed: Adapt to latest Autoconf.Eli Zaretskii3-11/+27
* config/djgpp/djconfig.sh: Add -Wpointer-arith and -Wuninitialized to the build warnings.
2005-05-12*** empty log message ***gdbadmin1-1/+1
2005-05-11 * gdb.texinfo (Command Files): Move the description of the startupEli Zaretskii2-58/+99
from here... (Startup): ...to this new subsection of the Invocation chapter. Rearrange the description of init files more logically and add a cross-reference to "Command Files". Document the special gdbinit name for CISCO 68k. Expand the description of what GDB does during startup. (History): Add index entry for HISTSIZE.
2005-05-11 * config/djgpp/fnchange.lst: Add mappings for inttypes*.m4,Eli Zaretskii2-3/+16
ChangeLog-2004, reg-cris*.dat, dw2-intermix.*, semcris*-switch.c. Fix mappings for hilo-hazard-?.s.
2005-05-11Fix a typo in bunzip2..Eli Zaretskii1-1/+1
2005-05-11Update GDB versions and my email address.Eli Zaretskii2-5/+9
2005-05-11*** empty log message ***gdbadmin1-1/+1
2005-05-10 * linux-s390-low.c (s390_breakpoint, s390_breakpoint_len): Define.Ulrich Weigand2-1/+49
(s390_get_pc, s390_set_pc, s390_breakpoint_at): New functions. (the_low_target): Add new members.
2005-05-10*** empty log message ***gdbadmin1-1/+1
2005-05-092005-05-09 Andrew Cagney <cagney@gnu.org>Andrew Cagney40-203/+218
Use gdb_byte in preference to bfd_byte. * gdbarch.sh: Update. * gdbarch.h, gdbarch.c: Re-generate. * ada-lang.c, ada-lang.h, ada-valprint.c, arch-utils.c: Update. * c-lang.c, c-lang.h, c-valprint.c, cp-valprint.c: Update. * f-lang.c, f-lang.h, f-valprint.c, gdbcore.h, jv-lang.h: Update. * jv-valprint.c, language.c, language.h, m2-lang.c: Update. * m2-lang.h, m2-valprint.c, objc-lang.c, p-lang.c: Update. * p-lang.h, p-valprint.c, regcache.c, scm-lang.c: Update. * scm-lang.h, scm-valprint.c, target.c, target.h: Update. * tramp-frame.c, valarith.c, valops.c, valprint.c: Update. * valprint.h, value.c, value.h: Update.
2005-05-09* vaxbsd-nat.c (vaxbsd_supply_gregset, vaxbsd_collect_gregset):Mark Kettenis3-10/+19
Use `gdb_byte *' for regs. * vax-tdep.c (vax_supply_gregset): Use `gdb_byte *' for regs; (vax_store_arguments, vax_push_dummy_call, vax_return_value): Use gdb_byte for buf. (vax_breakpoint_from_pc): Change return type to `const gdb_byte *'. Use gdb_byte for break_insn. (vax_skip_prologue): Use gdb_byte for op.
2005-05-09* i387-tdep.c: Remove outdated comments.Mark Kettenis2-9/+2
2005-05-09* defs.h: Unconditionally include <sys/types.h>.Mark Kettenis2-2/+5
2005-05-09 * mips-tdep.c (mips_stub_frame_sniffer): Handle .MIPS.stubsDaniel Jacobowitz2-2/+17
section like .plt.
2005-05-09*** empty log message ***gdbadmin1-1/+1
2005-05-08* i386-linux-tdep.c (linux_sigtramp_code, linux_rt_sigtramp_code):Mark Kettenis4-11/+23
Change type to `static const gdb_byte'. (i386_linux_sigtramp_start, i386_linux_rt_sigtramp_start) (i386_linux_sigcontext_addr): Use gdb_byte for buf. * amd64-linux-tdep.c (linux_sigtramp_code): Change type to `static const gdb_byte'. (amd64_linux_sigtramp_start, amd64_linux_sigcontext_addr): Use gdb_byte for buf. * amd64fbsd-tdep.c (amd64fbsd_supply_uthread) (amd64fbsd_collect_uthread): Use gdb_byte for buf.
2005-05-08* config/ia64/nm-aix.h: Remove file.Mark Kettenis2-43/+2
2005-05-08Fix typo.Mark Kettenis1-1/+1
2005-05-08* amd64-tdep.c (amd64_return_value): Use `gdb_byte *' in casts.Mark Kettenis3-18/+34
(amd64_push_arguments): Use gdb_byte instead of bfd_byte. Use gdb_byte for buf. (amd64_push_dummy_call): Use gdb_byte for buf. (amd64_analyze_prologue): Use gdb_byte for proto, buf and op. (amd64_frame_cache, amd64_sigtramp_frame_cache) (amd64_unwind_dummy_id): Use gdb_byte for buf. (amd64_supply_fxsave, amd64_collect_fxsave): Use `gdb_byte *' for regs. * amd64obsd-tdep.c (amd64obsd_supply_regset): Use `gdb_byte *' in casts. (amd64obsd_sigtramp_p): Use gdb_byte for sigreturn and `gdb_byte *' for buf,