* amd64-tdep.c (amd64_return_value): Change type of readbuf and
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 7d0607fc9f007a975815c592b6a3254bcc536ede..1efbfeb43f11c9e96b0dd5185eab81576a5eb99e 100644 (file)
@@ -1,5 +1,236 @@
+2005-05-14  Mark Kettenis  <kettenis@gnu.org>
+
+       * amd64-tdep.c (amd64_return_value): Change type of readbuf and
+       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-13  Andrew Cagney  <cagney@gnu.org>
+
+       * 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-13  Orjan Friberg  <orjanf@axis.com>
+
+       * cris-tdep.c (_initialize_cris_tdep): Improve help strings for
+       cris-version, cris-mode, and cris-dwarf2-cfi settings.
+
+2005-05-13  Orjan Friberg  <orjanf@axis.com>
+
+       * 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  Eli Zaretskii  <eliz@gnu.org>
+
+       * Makefile.in (go32-nat.o): Add $(top_h) to prerequisites.
+
+       * 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: Don't define GDBINIT_FILENAME.
+       (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  Mark Kettenis  <kettenis@gnu.org>
+
+       * sol-thread.c: Include "solib.h".
+       (sol_thread_attach): Use solib_add instead of SOLIB_ADD.
+       * Makefile.in (sol-thread.o): Update dependencies.
+
+       * NEWS: Mention OpenBSD/mips64 as a new native configuration.
+
+2005-05-12  Eli Zaretskii  <eliz@gnu.org>
+
+       * observer.sh (texi) [DJGPP]: If the file name includes a colon,
+       convert it to the /dev/x/ form.
+
+2005-05-12  Mark Kettenis  <kettenis@gnu.org>
+
+       * solib.h (CLEAR_SOLIB, SOLIB_ADD)
+       (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  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * cp-names.y: Renamed to ...
+       * 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  Eli Zaretskii  <eliz@gnu.org>
+
+       * observer.sh: Use observer.tmp instead of observer.inc-tmp which
+       on 8+3 filesystems overwrites observer.inc.  Update copyright year
+       of the resultant file.
+
+       * gnu-v3-abi.c (init_gnuv3_ops): Cast is_gnu_v3_mangled_dtor and
+       is_gnu_v3_mangled_ctor to avoid compiler warnings.
+
+       * config/djgpp/config.sed: Adapt to latest Autoconf.
+
+       * config/djgpp/djconfig.sh: Add -Wpointer-arith and
+       -Wuninitialized to the build warnings.
+
+2005-05-11  Eli Zaretskii  <eliz@gnu.org>
+
+       * config/djgpp/fnchange.lst: Add mappings for inttypes*.m4,
+       ChangeLog-2004, reg-cris*.dat, dw2-intermix.*, semcris*-switch.c.
+       Fix mappings for hilo-hazard-?.s.
+
+       * config/djgpp/README: Update GDB versions and my email address.
+
+2005-05-09  Andrew Cagney  <cagney@gnu.org>
+
+       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  Mark Kettenis  <kettenis@gnu.org>
+
+       * vaxbsd-nat.c (vaxbsd_supply_gregset, vaxbsd_collect_gregset):
+       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.
+
+       * i387-tdep.c: Remove outdated comments.
+
+       * defs.h: Unconditionally include <sys/types.h>.
+
+2005-05-08  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * mips-tdep.c (mips_stub_frame_sniffer): Handle .MIPS.stubs
+       section like .plt.
+
 2005-05-08  Mark Kettenis  <kettenis@gnu.org>
 
+       * i386-linux-tdep.c (linux_sigtramp_code, linux_rt_sigtramp_code):
+       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.
+
+       * config/ia64/nm-aix.h: Remove file.
+
+       * amd64-tdep.c (amd64_return_value): Use `gdb_byte *' in casts.
+       (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,
+
        * i386-tdep.c (i386_breakpoint_from_pc): Change return type to
        `const gdb_byte *'.  Use gdb_byte for break_insn.
        (i386_follow_jump): Use gdb_byte for op.
        (i386_unwind_dummy_id, i386_get_longjmp_target): Use gdb_byte for
        buf.
        (i386_extract_return_value, i386_store_return_value): Use
-       `bfd_byte *' instead of `void *' for valbuf argument.  Remove now
+       `gdb_byte *' instead of `void *' for valbuf argument.  Remove now
        redundant cast.
        (i386_pseudo_register_read, i386_pseudo_register_write): Use
        gdb_byte for mmx_buf.
This page took 0.025533 seconds and 4 git commands to generate.