X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=6a994a3f4dc586ec800fc29cc5279f32c9eaf0a6;hb=9f76c2cd1768b3125949139c0c9a745a5ec5205b;hp=4e0f0ed7e543e209f4e31948c252c932ec0302fd;hpb=194134a18464520633126b957d3062a45e73ee46;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4e0f0ed7e5..6a994a3f4d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,6 +1,466 @@ +2005-06-13 Mark Mitchell + + * 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 + + * 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 + + * hppa-tdep.c (hppa_pc_requires_run_before_use): Really test all + bits of top byte in address. + +2005-06-13 Wu Zhou + + * 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 + Nick Roberts + + * 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 + + * 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 + + * 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 + + * valprint.c (print_floating): Fix comment typo. + +2005-06-09 Jeff Johnston + + * 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 + David Mosberger + + * 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 + + * expression.h (enum exp_opcode): Fix a comment typo. + +2005-06-06 Manoj Iyer + + * 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 + + * MAINTAINERS: Update my email address. + +2005-06-03 Joel Brobecker + + * symmisc.c (dump_symtab_1): Renamed from dump_symtab. + (dump_symtab): New function. + +2005-04-02 Joel Brobecker + + * 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 + + * 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 + + * config/djgpp/fnchange.lst: Add mappings for linux-ppc-low.c and + linux-ppc64-low.c. + +2005-05-28 Bob Rossi + * 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 + + * alpha-tdep.c (alpha_next_pc): Use correct register number + for floating-point branch instructions. + +2005-05-28 Daniel Jacobowitz + Jonathan Larmour + + PR backtrace/1760 + * frame.c (backtrace_limit): Change type to int. + (get_prev_frame): Update backtrace limit support. + (_initialize_frame): Use add_setshow_integer_cmd for backtrace_limit. + +2005-05-28 Daniel Jacobowitz + + * configure.tgt (powerpc64-*-linux*): Enable gdbserver. + * regformats/reg-ppc64.dat: New file. + +2005-05-28 Daniel Jacobowitz + + From Wu Zhou : + * remote.c (struct gdb_ext_thread_info): Fix a comment typo. + (remote_unpack_thread_info_response): Likewise. + +2005-05-28 Daniel Jacobowitz + + * cli/cli-setshow.c (do_setshow_command): Partially revert previous + change. Cast to "char **" for var_string. + +2005-05-28 Daniel Jacobowitz + + * cp-name-parser.y (parse_escape): Revert previous change. Return + the input character by default. + +2005-05-28 Daniel Jacobowitz + + * dwarf2-frame.c (dwarf2_frame_prev_register): Use gdb_byte. + * i386-linux-nat.c (fetch_register, store_register, supply_gregset) + (fill_gregset): Likewise. + * i386-tdep.c (i386_frame_prev_register) + (i386_sigtramp_frame_prev_register): Likewise. + * linux-nat.c (linux_nat_xfer_memory, linux_nat_make_corefile_notes): + Likewise. + * linux-thread-db.c (thread_db_xfer_memory): Likewise. + * remote.c (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): + Likewise. + * target.c (debug_to_insert_hw_breakpoint) + (debug_to_remove_hw_breakpoint, update_current_target): Likewise. + +2005-05-28 Hans-Peter Nilsson + + * MAINTAINERS: Change cris-elf state to non-broken. + * cp-name-parser.y (parse_escape): Initialize target_char to zero. + +2005-05-27 Orjan Friberg + + * cris-tdep.c (crisv32_scan_prologue): Add. + (cris_frame_unwind_cache, cris_skip_prologue): Call + crisv32_scan_prologue when debugging CRISv32. + +2005-05-27 Orjan Friberg + + * cris-tdep.c (cris_sigtramp_start, cris_rt_sigtramp_start) + (cris_frame_prev_register, cris_sigtramp_frame_prev_register) + (cris_return_value): Use gdb_byte for byte buffers. + (struct cris_frame_unwind, struct cris_frame_base): Fix formatting. + +2005-05-26 Chris Demetriou + + * MAINTAINERS (Write After Approval): Remove myself. + +2005-05-27 Andrew Cagney + + * jv-lang.c (get_java_utf8_name): Add cast. + (evaluate_subexp_java): Use gdb_byte for buffers. + * jv-valprint.c (java_value_print, java_value_print): Use gdb_byte + for buffers. + * scm-lang.c (scm_get_field, scm_unpack) + (scm_evaluate_string): Use gdb_byte for buffers. + (scm_lookup_name): Add cast. + * scm-valprint.c (scm_scmval_print, scm_scmval_print): Use + gdb_byte for buffers. + * tui/tui.h (tui_get_command_dimension): Make parameters unsigned. + * tui/tui.c (tui_get_command_dimension): Make parameters unsigned. + * value.h (check_field): Change "name" to a string. + * valops.c (check_field): Change "name" to a string. + * scm-lang.h (scm_parse): Use gdb_byte for buffers. + * source.c (get_current_source_symtab_and_line) + (set_current_source_symtab_and_line): Initialize all fields of sal + structures. + * cli/cli-cmds.c (list_command): Use gdb_byte for buffers. + +2005-05-26 Andrew Cagney + + * command.h (add_setshow_integer_cmd): Make VAR an integer. + * cli/cli-decode.c (add_setshow_integer_cmd): Update to match. + * valops.c (value_string): Add a cast. + * eval.c (evaluate_subexp_standard): Use gdb_byte for byte buffers. + * breakpoint.c (re_enable_breakpoints_in_shlibs): Use gdb_byte for + byte buffers. + * target.h (struct target_ops): For to_insert_hw_breakpoint and + to_remove_hw_breakpoint use gdb_byte for byte buffer parameters. + * breakpoint.h (struct bp_location): Make shadow_contents a + gdb_byte buffer. + * cli/cli-setshow.c (do_setshow_command): Fix cast. + * cli/cli-dump.c (restore_section_callback) + (restore_binary_file): Use gdb_byte for byte buffers. + * proc-service.c (ps_ptwrite, ps_ptread, ps_pdwrite): Fix casts. + (ps_xfer_memory): Use gdb_byte for byte buffers. + * tracepoint.c (mem2hex): Use gdb_byte for byte buffers, and char + for string buffers. + * ser-tcp.c (net_open): Make len a socklen_t. + +2005-05-24 Andrew Cagney + + * rs6000-tdep.c (ppc_supply_reg, ppc_collect_reg): Use gdb_byte + for byte buffers. + (rs6000_fetch_pointer_argument): Use get_frame_register_unsigned. + (rs6000_software_single_step, sstep_breaks, skip_prologue) + (rs6000_push_dummy_call, rs6000_push_dummy_call) + (rs6000_push_dummy_call, rs6000_push_dummy_call) + (rs6000_register_to_value, e500_pseudo_register_read) + (rs6000_store_return_value, e500_pseudo_register_write) + (rs6000_frame_prev_register, rs6000_extract_return_value): Ditto. + * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call) + (ppc_sysv_abi_push_dummy_call, do_ppc_sysv_return_value) + (do_ppc_sysv_return_value, ppc_sysv_abi_return_value) + (ppc_sysv_abi_broken_return_value) + (ppc64_sysv_abi_push_dummy_call, ppc64_sysv_abi_push_dummy_call) + (ppc64_sysv_abi_push_dummy_call, ppc64_sysv_abi_return_value) + (ppc64_sysv_abi_return_value, ppc64_sysv_abi_return_value): Ditto. + * ppc-linux-tdep.c (ppc_linux_in_sigtramp) + (ppc_linux_at_sigtramp_return_path) + (ppc_linux_skip_trampoline_code) + (ppc_linux_memory_remove_breakpoint, ppc_linux_return_value): + * rs6000-tdep.c (rs6000_value_to_register) + (rs6000_register_to_value): Ditto. + * ppc-tdep.h (ppc_sysv_abi_return_value) + (ppc64_sysv_abi_return_value, ppc_sysv_abi_broken_return_value) + (ppc_linux_memory_remove_breakpoint): Ditto. + +2005-05-24 Ulrich Weigand + + * s390-tdep.c (s390_frame_prev_register): Change type of last + argument to 'gdb_byte *'. + (s390_stub_frame_prev_register): Likewise. + (s390_sigtramp_frame_prev_register): Likewise. + +2005-05-24 Kris Warkentin + + * config/i386/nto.mt: Remove remote-nto.o. + +2005-05-24 Orjan Friberg + + * config/djgpp/fnchange.lst: Add mappings for + gdbserver/linux-cris-low.c and gdbserver/linux-crisv32-low.c. + +2005-05-23 Michael Snyder + From Nora Pan + * linux-nat.c (read_mapping): Don't stumble over entries in + mapping that have name but zero inode. + +2005-05-23 Andrew Cagney + + * target.h (child_xfer_memory): Use gdb_byte for byte buffer + parameters. + * inftarg.c (child_xfer_partial): Update. + * wince.c (child_xfer_memory): Update. + * win32-nat.c (child_xfer_memory): Update. + * rs6000-nat.c (child_xfer_memory): Update. + * infptrace.c (child_xfer_memory): Update. + * dcache.c (struct dcache_block): Use gdb_byte for the byte + buffers. + (dcache_read_line, dcache_xfer_memory, dcache_poke_byte) + (dcache_peek_byte, dcache_write_line): Ditto. + + * auxv.h (target_auxv_read, procfs_xfer_auxv) + (target_auxv_parse): Use gdb_byte for byte buffer parameters. + * auxv.c (target_auxv_read, procfs_xfer_auxv, target_auxv_parse) + (target_auxv_search, fprint_target_auxv): Update. + +2005-05-23 Orjan Friberg + + * cris-tdep.c: Tweak values for cris-mode. + +2004-05-23 Joel Brobecker + + * mdebugread.c (record_minimal_symbol): New procedure. + (parse_partial_symbols): Use record_minimal_symbol to record + the new minimal symbols instead of prim_record_minimal_symbol + and prim_record_minimal_symbol_and_info. + +2005-05-22 Mark Kettenis + + * NEWS: Mention OpenBSD/arm as a new native configuration. + + * armnbsd-nat.c: Include "gdb_string.h" and "inf_ptrace.h". + Reorder includes. Don't require FETCH_INFERIOR_REGISTERS to be + defined. + (armnbsd_fetch_registers): Rename from armnbsd_fetch_registers. + Make static. + (armnbsd_store_registers): Rename from armnbsd_store_registers. + Make static. + (_initialize_arm_netbsd_nat): Construct and add target vector. + * Makefile.in (armnbsd-nat.o): Update dependencies. + * config/arm/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and + intarg.o, add inf-ptrace.o. + (NAT_FILE): Set to solib.h. + * config/arm/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and + inftarg.o, add inf-ptrace.o. + (NAT_FILE): Remove. + + * arm-tdep.c (arm_extract_return_value, arm_store_return_value): + Change type of last argument to `gdb_byte *'. + + * configure.host: Add arm*-*-openbsd*. + * configure.tgt: Add arm*-*-openbsd*. + +2005-05-22 Andrew Cagney + + * frame.h (frame_register_unwind, frame_unwind_register) + (get_frame_register, frame_register, put_frame_register) + (get_frame_memory, safe_frame_unwind_memory) + (frame_register_read): Use gdb_byte for byte buffer parameters. + * trad-frame.h (trad_frame_get_register) + (frame_get_prev_register): Ditto. + * frame-unwind.h (frame_prev_register_ftype): Ditto. + * frame.c (frame_pop, frame_register, frame_unwind_register) + (get_frame_register, frame_unwind_register_signed) + (frame_unwind_register_unsigned, frame_unwind_unsigned_register) + (frame_register_read, get_frame_memory): Update. + * trad-frame.c (trad_frame_get_prev_register): Update. + (trad_frame_get_register): Update. + * gdbcore.h (deprecated_read_memory_nobpt, read_memory): Ditto. + * breakpoint.c (deprecated_read_memory_nobpt): Update. + * corefile.c (read_memory): Update. + * tramp-frame.c (tramp_frame_prev_register): Update. + * valops.c (value_assign): Update. + * sentinel-frame.c (sentinel_frame_prev_register): Update. + * std-regs.c (value_of_builtin_frame_fp_reg) + (value_of_builtin_frame_pc_reg): Update. + * infcmd.c (default_print_registers_info): Update + * dummy-frame.c (dummy_frame_prev_register): Update. + * findvar.c (value_of_register, value_from_register): Update. + * tui/tui-regs.c (tui_register_format, tui_get_register): Update. + * mi/mi-main.c (register_changed_p, get_register): Update. + 2005-05-20 Eli Zaretskii - * configure.ac: Add snprintf and vsnprintf to AC_CHECK_DECLS. + * configure.ac: Add snprintf and vsnprintf to AC_CHECK_DECLS. Fix + bad description of _MSE_INT_H that caused each word in config.in + to be enclosed in []. + * configure, config.in: Regenerate. 2005-05-20 Joel Brobecker @@ -44,7 +504,6 @@ (regcache_raw_write_part, regcache_cooked_read_part) (regcache_cooked_write_part, read_register, regcache_raw_supply): ->>>>>>> 1.7166 2005-05-17 Corinna Vinschen * MAINTAINERS: Undelete v850. @@ -192,7 +651,6 @@ (_initialize_linux_nat, lin_thread_get_thread_signals): Use SA_RESTART. ->>>>>>> 1.7163 2005-05-14 Mark Kettenis * configure.tgt (vax-*-openbsd*): Set gdb_target to obsd.