* i386nbsd-nat.c (i386nbsd_supply_pcb): Cast to 'gdb_byte *' in
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 02105c4eb47d6de4a933a78071a859da83c363ee..aaa04204c595da226ea75f7c058a71c5ab9c0651 100644 (file)
@@ -1,3 +1,425 @@
+2005-07-04  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386nbsd-nat.c (i386nbsd_supply_pcb): Cast to 'gdb_byte *' in
+       read_memory call.
+       * bsd-uthread.c (bsd_uthread_wait): Use gdb_byte for byte buffer.
+
+       * bsd-kvm.c (bsd_kvm_open): Properly cast sentinel in concat call.
+       * coffread.c (patch_type, process_coff_symbol): Likewise.
+       * corelow.c (core_open): Likewise. 
+       * dwarf2read.c (dwarf_decode_lines, dwarf2_start_subfile): 
+       * language.c (set_lang_str, set_type_str, set_range_str) 
+       (set_case_str): Likewise.
+       * source.c (add_path, openp): Likewise.
+       * stabsread.c: Likewise.
+       * top.c (init_history): Likewise.
+       * utils.c (xfullpath): Likewise.
+       * value.c (lookup_internalvar): Likewise.
+       * cli/cli-cmds.c (cd_command): Likewise.
+       * cli/cli-dump.c (add_dump_command): Likewise.
+
+       * i387-tdep.c (print_i387_value, print_i387_ext, i387_tag): Change
+       type of first argument to `const gdb_byte *'.
+       (i387_print_float_info, i387_register_to_value)
+       (i387_value_to_register, i387_supply_fsave, i387_collect_fsave)
+       (i387_supply_fxsave, i387_collect_fxsave): Use gdb_byte for byte
+       buffers.
+
+2005-07-04  Ben Elliston  <bje@gnu.org>
+
+       * Makefile.in (RUNTEST): Set to runtest.
+
+2005-07-03  Richard Henderson  <rth@redhat.com>
+
+       * amd64-tdep.c (amd64_sse_type): New.   
+       (amd64_register_info): Use it for xmm registers.  Constify.
+       (amd64_register_type): Initialize amd64_sse_type as needed.
+
+2005-07-03  Steve Ellcey  <sje@cup.hp.com>
+
+       * configure.ac: Add arguments to AC_DEFINE calls.
+       * acconfig.h: Remove file.
+       * acinclude.m4 (AC_GNU_SOURCE): Remove definition.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
+2005-07-01  Mark Kettenis  <kettenis@gnu.org>
+
+       * mips-tdep.c (mips_insn16_frame_prev_register)
+       (mips_insn32_frame_prev_register, mips_stub_frame_prev_register):
+       Change type of last argument to `gdb_byte *'.
+
+2005-07-01  Steve Ellcey  <sje@cup.hp.com>
+
+       * MAINTAINERS (Write After Approval): Add myself.
+
+2005-07-01  Mark Kettenis  <kettenis@gnu.org>
+
+       * solib-svr4.c: Include "solib.h".
+       * Makefile.in (solib-svr4.o): Update dependencies.
+
+2005-06-28  Mark Kettenis  <kettenis@gnu.org>
+
+       * eval.c (evaluate_struct_tuple): Use strcmp instead of
+       DEPRECATED_STREQ.
+
+2005-06-27  Michael Snyder  <msnyder@redhat.com>
+
+       * config/mn10300/linux.mt: New file.
+       * configure.tgt: Add rule for am33 / mn10300-linux.
+       * mn10300-tdep.c, mn10300-tdep.h: Bump copyright year.
+
+2005-06-27  Wu Zhou  <woodzltc@cn.ibm.com>
+
+       * gdbtypes.c (get_discrete_bounds): Fix a comment typo.
+
+2005-06-25  Mark Kettenis  <kettenis@gnu.org>
+
+       * sol-thread.c (sol_thread_xfer_memory): Change type of second
+       argument to `gdb_byte *'.
+       (sol_thread_xfer_partial): Change type of readbuf and writebuf
+       arguments to `gdb_byte *'.
+
+       * mips-tdep.c (mips_xfer_register, mips_o32_return_value) 
+       (mips_integer_to_address): Use gdb_byte instead of bfd_byte.
+
+2005-06-24  Mark Kettenis  <kettenis@gnu.org>
+
+       * ppcobsd-nat.c: Include "gdbcore.h", <sys/signal.h>,
+       <machine/frame.h>, <machine/pcb.h> and "bsd-kvm.h".
+       (ppcobsd_supply_pcb): New function.
+       (_initialize_ppcobsd_nat): Enable libkvm interface.
+       * Makefile.in (ppcobsd-nat.o): Update dependencies.
+       * config/powerpc/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
+       (LOADLIBES): New variable.
+
+2005-06-24  Corinna Vinschen  <vinschen@redhat.com>
+
+       * i386-tdep.c (struct i386_frame_cache): Define sp_offset as LONGEST.
+
+2005-06-23  Andreas Schwab  <schwab@suse.de>
+
+       * gdb_ptrace.h: Fix typos when checking for PT_ATTACH.  Reported
+       by Chad Harrington <harrington.chad@gmail.com>.
+
+2005-06-22  Mark Kettenis  <kettenis@gnu.org>
+
+       * remote.c (extended_remote_restart): Pass buffer in call to
+       xsnprintf instead of a pointer to the buffer.
+
+2005-06-21  Andrew Cagney  <cagney@gnu.org>
+
+       * MAINTAINERS: List GDB's Steering Committee as responsible for
+       GDB's maintenance.
+
+2005-06-21  Mark Kettenis  <kettenis@gnu.org>
+
+       * inf-ttrace.c (inf_ttrace_xfer_partial): Change type of readbuf
+       and writebuf arguments to `gdb_byte *'.
+
+2005-06-21  Wu Zhou  <woodzltc@cn.ibm.com>
+
+       * MAINTAINERS (Write After Approval): Add myself.
+
+2005-06-20  Mark Kettenis  <kettenis@gnu.org>
+
+       * hppabsd-tdep.c: Include "symtab.h", "objfiles.h", "target.h",
+       "value.h" and "elf/common.h".
+       (hppabsd_supply_gregset): Use `gdb_byte *' for byte buffer.
+       (hppabsd_find_global_pointer): New function.
+       (hppabsd_init_abi): Set TDEP->find_global_pointer to
+       hppabsd_find_global_pointer.
+       * Makefile.in (hppabsd-tdep.o): Update dependencies.
+
+2005-06-12  Mark Kettenis  <kettenis@gnu.org>
+
+       * hppa-tdep.c (hppa_pointer_to_address_hack): Remove function.
+       (unwind_command): Use %lx to print pointer.
+
+2005-06-19  Mark Kettenis  <kettenis@gnu.org>
+
+       * remote-sim.c (gdbsim_xfer_inferior_memory): Remove prototype.
+       Change type of second argument to`gdb_byte *'.
+
+2005-06-19  Nick Roberts  <nickrob@snap.net.nz>
+
+       * mi/mi-cmd-stack.c (mi_cmd_stack_info_frame): New function.
+
+       * mi/mi-cmds.c (mi_cmds): Replace entry for -stack-info-frame.
+       Make it use mi_cmd_stack_info_frame
+
+       * mi/mi-cmds.h (mi_cmd_stack_info_frame): New declaration.
+
+2005-06-18  Mark Kettenis  <kettenis@gnu.org>
+
+       * hppa-tdep.c (hppa_fallback_frame_cache): Don't error out if we
+       can't find the bounds of the current function.  Wrap some long
+       lines in the process.
+
+       * regcache.c (regcache_raw_supply, regcache_raw_collect): Change
+       type of last argument back to `void *'.
+       * regcache.h (regcache_raw_supply, regcache_raw_collect): Likewise.
+
+2005-06-18  Nick Roberts  <nickrob@snap.net.nz>
+
+       * mi/mi-cmds.c (mi_cmds): Remove entry for -stack-info-frame.
+
+       * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames)
+       (mi_cmd_stack_info_depth): Don't test for stack.
+       (mi_cmd_stack_select_frame): Make the argument mandatory.
+       Don't test for stack.
+
+2005-06-17  Wu Zhou  <woodzltc@cn.ibm.com>
+
+       * remote.c (set_thread, remote_thread_alive): Replace sprintf
+       call with xsnprintf.
+       (remote_threads_extra_info, extended_remote_restart)
+       (remote_check_symbols, store_register_using_P)
+       (compare_sections_command): Ditto.
+
+2005-06-16  David Ung  <davidu@mips.com>
+
+       * MAINTAINERS (Write After Approval): Add self.
+
+2005-06-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * hppa-hpux-nat.c (hppa_hpux_fetch_register)
+       (hppa_hpux_store_register): Add casts in extract_unsigned_integer
+       and store_usigned_integer calls.
+
+2005-06-14  Nick Roberts  <nickrob@snap.net.nz>
+
+       * mi/mi-main.c (mi_cmd_data_list_register_values): Remove test for
+       registers now that mi_execute_command rewinds after an error.
+
+2005-06-13  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure.ac: Use AC_CHECK_TYPES to check for uintptr_t.
+       * configure, config.in: Regenerate.
+
+       * ser-tcp.c: Tweak comment.
+       [!HAVE_SOCKLEN_T]: Typedef socklen_t.
+       * configure.ac: Add check for socklen_t.
+       * configure, config.in: Regenerate.
+
+2005-06-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/linux64.mt (TDEPFILES): Add symfile-mem.o.
+
+2005-06-13  Richard Sandiford  <richard@codesourcery.com>
+
+       * MAINTAINERS: Update my email address.
+
+2005-06-13  Mark Mitchell  <mark@codesourcery.com>
+
+       * corelow.c (core_open): Use bfd_fopen, not bfd_fdopenr.
+       * exec.c (exec_file_attach): Likewise.
+       * solib-frv.c (enable_break2): Likewise.
+       * solib-svr4.c (enable_break): Likewise.
+       * solib.c (solib_map_sections): Likewise.
+       * symfile.c (symfile_bfd_open): Likewise.
+
+2005-06-13  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.in (symfile.o): Add $(exec_h).
+       * exec.h (exec_set_section_address): Add prototype.
+       * exec.c (exec_set_section_address): New function.
+       * symfile.c: Include "exec.h".
+       (struct place_section_arg, place_section): New.
+       (default_symfile_offsets): Call place_section for each
+       section of a relocatable file.
+
+2005-06-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * hppa-tdep.c (hppa_pc_requires_run_before_use): Really test all
+       bits of top byte in address.
+
+2005-06-13  Wu Zhou  <woodzltc@cn.ibm.com>
+
+       * eval.c (evaluate_subexp_standard): Add code to check the target
+       type of a TYPE_CODE_PTR value when we encounter a f77 undetermined
+       arglist.  If it is array, string or function, work on the target
+       value instead.
+
+2005-06-12  Daniel Jacobowitz  <dan@codesourcery.com>
+           Nick Roberts  <nickrob@snap.net.nz>
+
+       * mi/mi-main.c (register_changed_p, get_register): Use
+       get_selected_frame.
+       (mi_execute_command): Call mi_out_rewind after an error.
+
+2005-06-12  Mark Kettenis  <kettenis@gnu.org>
+
+       * hppa-tdep.c (hppa_frame_prev_register)
+       (hppa_fallback_frame_prev_register)
+       (hppa_stub_frame_prev_register): Change type of last argument to
+       `gdb_byte *'.
+       (hppa_fetch_pointer_argument): Tweak comment.  Use
+       get_frame_register_unsigned instead of get_frame_register.
+       (hppa32_return_value, hppa64_return_value): Change type of readbuf
+       and writebuf arguments to `gdb_byte *'.  Remove unecessary casts
+       and local variables.
+       (hppa_pseudo_register_read): Change type of last argument to
+       `gdb_byte *'.
+
+       * m68k-tdep.c (m68k_frame_prev_register): Change type of last
+       argument to `gdb_byte *'.
+
+       * arm-tdep.c (set_disassembly_style, _initialize_arm_tdep):
+       Consitify regnames.
+
+       * alpha-tdep.c (alpha_sigtramp_frame_prev_register)
+       (alpha_heuristic_frame_prev_register): Change type of last
+       argument to `gdb_byte *'.
+       (alpha_register_to_value, alpha_value_to_register) 
+       (alpha_extract_return_value, alpha_store_return_value): Likewise.
+       * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise.
+
+       * arm-tdep.c (arm_prologue_prev_register)
+       (arm_sigtramp_prev_register): Change type of last argument to
+       `gdb_byte *'.
+
+       * m88k-tdep.c (m88k_frame_prev_register): Change type of last
+       argument to `gdb_byte *'.
+
+       * vax-tdep.c (vax_frame_prev_register): Change type of last
+       argument to `gdb_byte *'.
+
+       * sparc-tdep.c (sparc32_frame_prev_register): Change type of last
+       argument to `gdb_byte *'.
+       * sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_prev_register):
+       Likewise.
+       * sparcobsd-tdep.c (sparc32obsd_frame_prev_register): Likewise.
+       * sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_prev_register):
+       Likewise.
+       * sparc64-tdep.c (sparc64_frame_prev_register): Likewise.
+       * sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_prev_register):
+       Likewise.
+       * sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_prev_register):
+       Likewise.
+       * sparc64obsd-tdep.c (sparc64obsd_frame_prev_register): Likewise.
+       * sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_unwind):
+       Likewise.
+
+       * amd64-tdep.c (amd64_frame_prev_register)
+       (amd64_sigtramp_frame_prev_register): Change type of last argument
+       to `gdb_byte *'.
+
+2005-06-11  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-tdep.c (i386_register_type): Return
+       builtin_type_void_func_ptr for %eip and builtin_type_void_data_ptr
+       for %ebp and %esp.
+
+2005-06-10  Ben Elliston  <bje@au.ibm.com>
+
+       * valprint.c (print_floating): Fix comment typo.
+
+2005-06-09  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * ia64-tdep.c (ia64_pseudo_register_read): Use gdb_byte and
+       protect libunwind references with HAVE_LIBUNWIND_IA64_H flag.
+       (ia64_pseudo_register_write): Use gdb_byte to remove warning.
+       (ia64_register_to_value, ia64_value_to_register): Ditto.
+       (ia64_frame_prev_register): Ditto.
+       (ia64_libunwind_frame_prev_register): Ditto.
+       (ia64_sigtramp_frame_prev_register): Ditto.
+       (ia64_libunwind_sigtramp_frame_prev_register): Ditto.
+       (ia64_store_return_value): Ditto.
+
+2005-06-08  Jeff Johnston  <jjohnstn@redhat.com>
+           David Mosberger <davidm@hpl.hp.com>
+
+       * ia64-tdep.c (KERNEL_START): New macro.
+       (ia64_pseudo_register_read): Fix code to use libunwind to properly
+       get the rse registers.
+       (ia64_frame_this_id): Mark outermost frame with null frame id.
+       (ia64_sigtramp_frame_prev_register): Fix up debug output.
+       (ia64_access_rse_reg): New accessor function.
+       (ia64_access_mem): Add special logic for accessing the
+       kernel's unwind table.
+       (getunwind_table): Fix for corefiles.
+       (get_kernel_table): Fix to handle vDSO.
+       (ia64_libunwind_frame_this_id): Check for null frame id and
+       don't unwind past pc value of 0.  Fix debugging output.
+       (ia64_libunwind_sigtramp_frame_this_id): New function.
+       (ia64_libunwind_sigtramp_frame_prev_register): Ditto.
+       (ia64_libunwind_sigtramp_frame_sniffer): Ditto.
+       (ia64_libunwind_sigtramp_frame_unwind): New unwinder.
+       (ia64_unw_rse_accessors): New libunwind accessors.
+       (ia64_libunwind_descr): Add ia64_unw_rse_accessors.
+       (ia64_gdbarch_init)[HAVE_LIBUNWIND_IA64_H]: Use 
+       ia64_libunwind_sigtramp_frame_sniffer instead of 
+       ia64_sigtramp_frame_sniffer.
+       * libunwind-frame.c (libunwind_frame_set_descr): Add
+       special register accessors.
+       (libunwind_frame_cache): Add special logic to check for
+       0 pc value.  Check for a signal trampoline frame.
+       (libunwind_frame_this_id): Check if libunwind_frame_cache
+       returns NULL.
+       (libunwind_frame_prev_register): Check for NULL cache.
+       (libunwind_frame_base_address): Ditto.
+       (libunwind_sigtramp_frame_sniffer): New function.
+       (libunwind_get_reg_special): Ditto.
+       (libunwind_load): Add unw_is_signal_frame support.
+       * libunwind-frame.h (struct libunwind_descr): Add special_accessors
+       field.
+       (libunwind_sigtramp_frame_sniffer): New prototype.
+       (libunwind_get_reg_special): Ditto.
+       
+2005-06-08  Wu Zhou  <woodzltc@cn.ibm.com>
+
+       * expression.h (enum exp_opcode): Fix a comment typo.
+
+2005-06-06  Manoj Iyer  <manjo@austin.ibm.com>
+
+       * solib-svr4.c (struct lm_info): Change type of 'lm' to gdb_byte.
+       (elf_locate_base): Converted types of buf, bufend, pbuf, to gdb_byte.
+       (first_link_map_member): Converted type of r_map_buf to gdb_byte.
+       (open_symbol_file_object): Converted type of l_name_buf to gdb_byte.
+       (svr4_fetch_objfile_link_map): Converted type of l_name_buf to
+       gdb_byte.
+
+2005-06-04  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       * MAINTAINERS: Update my email address.
+
+2005-06-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * symmisc.c (dump_symtab_1): Renamed from dump_symtab.
+       (dump_symtab): New function.
+
+2005-04-02  Joel Brobecker  <brobecker@adacore.com>
+
+       * exceptions.h: Include ui-out.h.
+       (ui_out): Remove declaration.
+       * Makefile.in (exceptions_h): Add dependency on ui-out.h.
+
+2005-05-30  Andrew Cagney  <cagney@gnu.org>
+
+       * MAINTAINERS (Can Commit Without Approval): New section,
+       previously burried under "Target Instruction Set Architectures".
+       Note that cagney "can commit" changes to powerpc-linux.
+       
+       * MAINTAINERS: Drop architecture and target vectors.
+
+2005-05-29  Eli Zaretskii  <eliz@gnu.org>
+
+       * config/djgpp/fnchange.lst: Add mappings for linux-ppc-low.c and
+       linux-ppc64-low.c.
+
+2005-05-28  Bob Rossi  <bob@brasko.net>
+       * Makefile.in (SUBDIR_MI_OBS, SUBDIR_MI_SRCS): Add mi-common.
+       (gdb/mi/ headers): Add mi_common_h.
+       (breakpoint.o, infrun.o): Add dependencies mi_common_h.
+       * breakpoint.c (include): Add include 'mi/mi-common.h'.
+       (print_it_typical): Use async_reason_lookup.
+       (watchpoint_check): Ditto.
+       * infrun.c (include): Add include 'mi/mi-common.h'.
+       (print_stop_reason): Use async_reason_lookup.
+       * mi/mi-common.h: New file.
+       * mi/mi-common.c: Ditto.
+
 2005-05-29  Joel Brobecker  <brobecker@adacore.com>
 
        * alpha-tdep.c (alpha_next_pc): Use correct register number
This page took 0.027523 seconds and 4 git commands to generate.