+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_analyze_struct_return): Use gdb_byte for proto1, proto2, buf
+ and op.
+ (i386_skip_probe): Use gdb_byte for buf and op.
+ (struct i386_insn): Use gdb_byte for insn and mask.
+ (i386_match_insn, i386_analyze_frame_setup)
+ (i386_analyze_register_saves): Use gdb_byte for op.
+ (i386_skip_prologue): Use gdb_byte for pic_pat and op;
+ (i386_unwind_pc, i386_frame_cache, i386_sigtramp_frame_cache)
+ (i386_unwind_dummy_id, i386_get_longjmp_target): Use gdb_byte for
+ buf.
+ (i386_extract_return_value, i386_store_return_value): Use
+ `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.
+ (i386_register_to_value, i386_value_to_register): Use `gdb_byte *'
+ instead of `char *' for buf.
+ (i386_supply_gregset, i386_collect_gregset): Use `gdb_byte *'
+ instead of `char *' for regs.
+ (i386_svr4_sigcontext_addr): Use gdb_byte for buf.
+ * i386obsd-tdep.c (i386obsd_sigtramp_p): Use gdb_byte for
+ sigreturn and `gdb_byte *' for buf.
+ (i386obsd_aout_supply_regset): Use `const gdb_byte *' in cast.
+ (i386obsd_supply_uthread, i386obsd_collect_uthread): Use gdb_byte
+ for buf.
+ * i386bsd-tdep.c (i386bsd_sigcontext_addr): Use gdb_byte for buf.
+
+ * defs.h (gdb_byte): New typedef. Tweak comments.
+
+ * target.h (target_link): Remove prototype.
+ * target.c (target_link): Remove function.
+ * symfile.c: Remove comment about rombug.
+
+2005-05-04 Mark Kettenis <kettenis@gnu.org>
+
+ * config/i386/cygwin.mh (XM_FILE): Remove variable.
+ * config/i386/xm-cygwin.h: Remove file.
+
+2005-05-03 Ben Elliston <bje@au.ibm.com>
+
+ * infrun.c (handle_inferior_event): Update the comment about users
+ of stepped_after_stopped_by_watchpoint.
+
+2005-05-02 Corinna Vinschen <vinschen@redhat.com>
+
+ * MAINTAINERS: Remove hint that sh64 doesn't build.
+ * sh64-tdep.c (sh64_push_dummy_call): Cast buf in call to write_memory.
+ (sh64_do_fp_register): make raw_buffer unsigned.
+ (sh64_do_register): Ditto.
+
+2005-05-02 Mark Kettenis <kettenis@gnu.org>
+
+ * bsd-uthread.c: Include "solib.h".
+ * Makefile.in (bsd-uthread.o): Update dependencies.
+
+2005-05-01 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * gdbarch.sh (deprecated_current_gdbarch_select_hack): Flush
+ cached frames when changing gdbarch.
+ * gdbarch.c: Regenerated.
+
+2005-05-01 Andrew Cagney <cagney@gnu.org>
+
+ * MAINTAINERS: Note that cris, m68k, mn10300, sh64, sparc and vax
+ do not build.
+
+ * gdbarch.sh (deprecated_extract_return_value)
+ (breakpoint_from_pc, deprecated_store_return_value)
+ (memory_insert_breakpoint, memory_remove_breakpoint): Change type
+ of buffer to a bfd_byte pointer.
+ * gdbarch.h, gdbarch.c: Re-generate.
+ * mem-break.c (memory_insert_breakpoint)
+ (memory_remove_breakpoint, default_memory_insert_breakpoint)
+ (default_memory_remove_breakpoint): Update.
+ * target.h (memory_insert_breakpoint)
+ (memory_remove_breakpoint, default_memory_insert_breakpoint)
+ (default_memory_remove_breakpoint): Update declarations.
+ (struct target_ops): Update to_insert_breakpoint and
+ to_remove_breakpoint.
+ * target.c (debug_to_remove_breakpoint)
+ (debug_to_insert_breakpoint): Update.
+ * remote-m32r-sdi.c (m32r_remove_breakpoint)
+ (m32r_insert_breakpoint): Update.
+ * m32r-tdep.c (m32r_memory_insert_breakpoint)
+ (m32r_memory_remove_breakpoint): Update.
+ * remote-e7000.c (e7000_insert_breakpoint)
+ (e7000_remove_breakpoint): Update.
+ * remote-rdi.c (arm_rdi_insert_breakpoint)
+ (arm_rdi_remove_breakpoint): Update.
+ * remote-sim.c (gdbsim_insert_breakpoint)
+ (gdbsim_remove_breakpoint): Update.
+ * exec.c (ignore): Update.
+ * rs6000-tdep.c (rs6000_extract_return_value): Update.
+ * ia64-tdep.c (ia64_memory_insert_breakpoint)
+ (ia64_memory_remove_breakpoint): Update.
+ * remote-rdp.c (remote_rdp_insert_breakpoint)
+ (remote_rdp_remove_breakpoint): Update.
+
+2005-05-01 Mark Kettenis <kettenis@gnu.org>
+
+ * somsolib.c, somsolib.h: Remove files.
+ * Makefile.in (somsolib_h): Remove.
+ (somsolib.o): Remove dependency.
+
+ * fbsd-nat.c: Include <sys/sysctl.h>.
+ (fbsd_pid_to_exec_file): Use KERN_PROC_PATHNAME sysctl if
+ available. Plug memory leak. Fixes PR gdb/1922.
+
+2005-04-29 Mark Kettenis <kettenis@gnu.org>
+
+ * solist.h (TARGET_SO_FREE_SO, TARGET_SO_CLEAR_SOLIB)
+ (TARGET_SO_SOLIB_CREATE_INFERIOR_HOOK)
+ (TARGET_SO_SPECIAL_SYMBOL_HANDLING, TARGET_SO_CURRENT_SOS)
+ (TARGET_SO_OPEN_SYMBOL_FILE_OBJECT): Remove defines.
+ * solib.c (solib_data): New variable.
+ (solib_init, solib_ops): New functions.
+ (solib_open, solib_map_sections, free_so, update_solib_list)
+ (solib_add, clear_solib, solib_create_inferior_hook)
+ (in_solib_dynsym_resolve_code): Call architecture-dependent code
+ using solib_ops.
+ (_initialize_solib): Register SOLIB_DATA.
+
2005-04-29 Kevin Buettner <kevinb@redhat.com>
* frv-tdep.c (find_func_descr): Verify that entry point can be