X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=795e23f129214d9c073a225dbe2a39280520cb18;hb=d4094b6a8883ae481c7644c5a210254efe92e9ad;hp=29f00d851c6177296628ee305a7c32d64cde885b;hpb=633785ff2876e5bf03070a235d3e8cfe94cbf6bd;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 29f00d851c..795e23f129 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,502 @@ +2014-02-04 Ulrich Weigand  + + * ppc-linux-tdep.c (ppc_linux_init_abi): Only call + set_gdbarch_convert_from_func_ptr_addr and + set_gdbarch_elf_make_msymbol_special for ELFv1. + * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle + function descriptors on ELFv1. + (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2, + set up r12 at function entry. + +2014-02-04 Ulrich Weigand  + + * ppc-tdep.h (enum powerpc_elf_abi): New data type. + (struct gdbarch_tdep): New member elf_abi. + + * rs6000-tdep.c: Include "elf/ppc64.h". + (rs6000_gdbarch_init): Detect ELF ABI version. + +2014-02-04 Ulrich Weigand  + + * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order + within a register pair holding a DFP 128-bit value on little-endian. + (ppc64_sysv_abi_return_value_base): Likewise. + * rs6000-tdep.c (dfp_pseudo_register_read): Likewise. + (dfp_pseudo_register_write): Likewise. + +2014-02-04 Ulrich Weigand  + + * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct + offset on little-endian when passing _Decimal32. + (ppc64_sysv_abi_return_value_base): Likewise for return values. + +2014-02-04 Ulrich Weigand  + + * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset + of the overlapped FP register within the VSX register on little- + endian platforms. + (efpr_pseudo_register_write): Likewise. + +2014-02-04 Ulrich Weigand  + + * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct + offset on little-endian when passing small structures. + +2014-02-04 Ulrich Weigand  + + * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment. + (struct ppc64_sysv_argpos): New data structure. + (ppc64_sysv_abi_push_float): Remove. + (ppc64_sysv_abi_push_val): New function. + (ppc64_sysv_abi_push_integer): Likewise. + (ppc64_sysv_abi_push_freg): Likewise. + (ppc64_sysv_abi_push_vreg): Likewise. + (ppc64_sysv_abi_push_param): Likewise. + (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines. + (ppc64_sysv_abi_return_value_base): New function. + (ppc64_sysv_abi_return_value): Refactor to use it. + +2014-02-04 Ulrich Weigand  + + * NEWS: Document new target powerpc64le-*-linux*. + +2014-02-04 Mark Kettenis + + * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable. + (sparc64obsd_supply_gregset): Handle registers sets used in ELF + core dumps. + (sparc64obsd_init_abi): Adjust minimum size of the general purpose + register set used in ELF core dumps. Add floating-point register set. + +2014-02-03 Kevin Buettner + + * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite + dwarf2_to_gdb[] table using symbolic constants. Adjust + penultimate entry from number representing the PC register + to symbolic constant representing the MDR register. Add + constant for the PC register to the end of the table. + +2014-02-03 Mark Kettenis + + * bsd-kvm.c: Include + +2014-02-03 Mark Kettenis + + * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype. + +2014-01-31 Joel Brobecker + + * ada-lang.h (clear_ada_sym_cache): Delete. + +2014-01-30 Ulrich Weigand  + + * auxv.c (fprint_target_auxv): Handle AT_HWCAP2. + +2014-01-29 Jose E. Marchesi + + * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from + the sigreturn register save area only if the syscall is + sigreturn. + +2014-01-29 Joel Brobecker + + * valops.c (value_slice): Minor reformatting. + +2014-01-28 Ulrich Weigand  + + * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo. + +2014-01-28 Joel Brobecker + + * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist): + New static globals. + (maint_set_ada_cmd, maint_show_ada_cmd): New functions. + (ada_ignore_descriptive_types_p): New static global. + (find_parallel_type_by_descriptive_type): Return immediately + if ada_ignore_descriptive_types_p is set. + (_initialize_ada_language): Register new commands "maintenance + set ada", "maintenance show ada", "maintenance set ada + ignore-descriptive-types" and "maintenance show ada + ignore-descriptive-types". + * NEWS: Add entry for new "maint ada set/show + ignore-descriptive-types" commands. + +2014-01-27 Markus Metzger + + * record-btrace.c (record_btrace_close): Call btrace_teardown + for all threads. + +2014-01-27 Joel Brobecker + + * ada-lang.c: Remove "#ifdef UI_OUT" condition for including + "ui-out.h". + +2014-01-27 Joel Brobecker + + * ada-typeprint (type_is_full_subrange_of_target_type): + New function. + (print_range): Add parameter bounds_prefered_p. If not set, + try printing range types using the name of their base type. + (print_range_type): Add parameter bounds_prefered_p. + Use it in call to print_range. + (print_array_type, ada_print_type): Update calls to print_range + and print_range_type. + +2014-01-27 Joel Brobecker + + * ada-typeprint.c (print_array_type, print_choices, print_range) + (print_range_bound, print_dynamic_range_bound, print_range_type): + Remove declaration. + +2014-01-27 Joel Brobecker + + * ada-typeprint.c (print_range): Add missing empty line + after local declaration. + +2014-01-27 Joel Brobecker + + * ada-valprint.c (print_optional_low_bound): Get index_type's + target type for as long as it is a TYPE_CODE_RANGE. + +2014-01-27 Joel Brobecker + + * procfs.c (procfs_make_note_section): Remove assertion and + associated comment. + +2014-01-24 Yao Qi + + * remote.c (remote_read_bytes): Change type of len to ULONGEST. + * corelow.c (get_core_siginfo): Likewise. + +2014-01-24 Yao Qi + + * remote.c (remote_write_bytes_aux): Change type of 'len' to + ULONGEST. Don't check 'len' is negative. + (remote_write_bytes): Change type of 'len' to ULONGEST. + +2014-01-23 Tom Tromey + + PR python/16485: + * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args): + Handle exception from frame.block. + (FrameVars.fetch_frame_locals): Likewise. + +2014-01-23 Tom Tromey + + PR python/16487: + * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF + on a NULL pointer. Move "goto error" to correct place. + +2014-01-23 Tom Tromey + + PR python/16491: + * python/py-framefilter.c (apply_frame_filter): Call + ensure_python_env after computing gdbarch. + +2014-01-23 Yao Qi + + * target.c (raw_memory_xfer_partial): Change argument type + from void * to gdb_byte *. + (memory_xfer_partial_1, memory_xfer_partial): Likewise. + +2014-01-22 Doug Evans + + New gdbserver option --debug-format=timestamp. + * NEWS: Mention it. + +2014-01-22 Andreas Arnez + + * syscalls/s390x-linux.xml: New file. + * syscalls/s390-linux.xml: New file. + * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro. + (XML_SYSCALL_FILENAME_S390X): Likewise. + (op_svc): New enum value for SVC opcode. + (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'. + (s390_linux_get_syscall_number): New function. + (s390_gdbarch_init): Register '*get_syscall_number' and the + syscall xml file name. + * data-directory/Makefile.in (SYSCALLS_FILES): Add + "s390-linux.xml" and "s390x-linux.xml". + * NEWS: Announce new feature. + +2014-01-22 Baruch Siach + + * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t. + +2014-01-22 Pedro Alves + + * xtensa-config.c: Include defs.h. + +2014-01-22 Joel Brobecker + + * common/common-utils.h: Add "ARI:" comment beside __func__ + reference. + +2014-01-22 Joel Brobecker + + * common/common-utils.h (FUNCTION_NAME): Expand the macro's + documentation a bit. + +2014-01-21 Roland McGrath + + * configure.ac: Call AM_PROG_INSTALL_STRIP. + * configure: Regenerate. + * aclocal.m4: Regenerate. + * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP): + New substituted variables. + (install-strip): New target. + (INSTALL_SCRIPT): New substituted variable. + (FLAGS_TO_PASS): Add it. + (install-only): Use $(INSTALL_SCRIPT) rather than + $(INSTALL_PROGRAM) for gcore. + +2014-01-20 Tom Tromey + + * cli/cli-decode.h (struct cmd_list_element): Move all bitfields + together. + +2014-01-20 Tom Tromey + + * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd) + (add_setshow_cmd_full, delete_cmd, lookup_cmd_1) + (deprecated_cmd_warning, complete_on_cmdlist): Update. + * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER) + (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove. + (struct cmd_list_element) : Remove. + : New fields. + : Now + bitfields. + * maint.c (maintenance_do_deprecate): Update. + * top.c (execute_command): Update. + +2014-01-20 Baruch Siach + + * xtensa-linux-nat.c: Include asm/ptrace.h. + +2014-01-17 Iain Buclaw + + * Makefile.in (SFILES): Add d-support.c. + (COMMON_OBS): Add d-support.o. + * d-lang.h (d_parse_symbol): Add comment, now defined in + d-support.c. + * d-lang.c (parse_call_convention) + (parse_attributes, parse_function_types) + (parse_function_args, parse_type, parse_identifier) + (call_convention_p, d_parse_symbol): Move functions to ... + * d-support.c: ... New file. + +2014-01-17 Iain Buclaw + + * d-lang.h (d_parse_symbol): Add declaration. + * d-lang.c (extract_identifiers) + (extract_type_info): Remove functions. + (parse_call_convention, parse_attributes) + (parse_function_types, parse_function_args) + (parse_type, parse_identifier, call_convention_p) + (d_parse_symbol): New functions. + (d_demangle): Use d_parse_symbol to demangle D symbols. + +2014-01-17 Iain Buclaw + + * d-lang.h (struct builtin_d_type): New data type. + (builtin_d_type): Add declaration. + * d-lang.c (d_language_arch_info, build_d_types) + (builtin_d_type): New functions. + (enum d_primitive_types): New data type. + (d_language_defn): Change c_language_arch_info to + d_language_arch_info. + (d_type_data): New static variable. + (_initialize_d_language): Initialize d_type_data. + +2014-01-17 Iain Buclaw + + * d-lang.h (d_main_name): Add declaration. + * d-lang.c (d_main_name): New function. + * symtab.c (find_main_name): Add call to d_main_name. + +2014-01-17 Iain Buclaw + + * d-lang.c (d_language_defn): Change macro_expansion_c to + macro_expansion_no. + +2014-01-17 Iain Buclaw + + * MAINTAINERS: Add myself as a write-after-approval maintainer. + +2014-01-17 Sergio Durigan Junior + + * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct + gdb_exception" declaration. + * remote.c (getpkt_or_notif_sane): Likewise. + +2014-01-17 Doug Evans + + * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New + function, contents of dirnames_to_char_ptr_vec_append moved here. + (delim_string_to_char_ptr_vec): New function. + (dirnames_to_char_ptr_vec_append): Rewrite. + * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare. + +2014-01-17 Doug Evans + + * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION, + and moved here ... + * common/gdb_assert.h (ASSERT_FUNCTION): ... from here. + #include "common-utils.h". + (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update. + * common/vec.h (VEC_ASSERT_PASS): Update. + * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h. + (MACH_CHECK_ERROR): Update. + +2014-01-17 Simon Marchi + + * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add + comments. + * gdbarch.h: Regenerate. + +2014-01-16 Tom Tromey + + * value.c (struct value) : Move earlier. + +2014-01-16 Tom Tromey + + * remote.c (extended_remote_create_inferior): Rename from + extended_remote_create_inferior_1. Add "ops" argument. Remove + old implementation. + +2014-01-16 Pedro Alves + + * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow + NOT_AVAILABLE_ERROR errors while parsing the prologue or reading + the backchain. + +2014-01-16 Doug Evans + + * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment. + +2014-01-16 Markus Metzger + + * btrace.h (btrace_thread_flag): New. + (struct btrace_thread_info) : New. + * record-btrace.c (record_btrace_resume_thread) + (record_btrace_find_thread_to_move, btrace_step_no_history) + (btrace_step_stopped, record_btrace_start_replaying) + (record_btrace_step_thread, record_btrace_decr_pc_after_break) + (record_btrace_find_resume_thread): New. + (record_btrace_resume, record_btrace_wait): Extend. + (record_btrace_can_execute_reverse): New. + (record_btrace_open): Fail in non-stop mode. + (record_btrace_set_replay): Split into this, ... + (record_btrace_stop_replaying): ... this, ... + (record_btrace_clear_histories): ... and this. + (init_record_btrace_ops): Init to_can_execute_reverse. + * NEWS: Announce it. + +2014-01-16 Markus Metzger + + * target.h (struct target_ops) : New. + (forward_target_decr_pc_after_break) + (target_decr_pc_after_break): New. + * target.c (forward_target_decr_pc_after_break) + (target_decr_pc_after_break): New. + * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break + instead of gdbarch_decr_pc_after_break. + * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break + instead of gdbarch_decr_pc_after_break. + * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break + instead of gdbarch_decr_pc_after_break. + * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break + instead of gdbarch_decr_pc_after_break. + * linux-thread-db.c (check_event): Call target_decr_pc_after_break + instead of gdbarch_decr_pc_after_break. + * record-full.c (record_full_wait_1): Call target_decr_pc_after_break + instead of gdbarch_decr_pc_after_break. + +2014-01-16 Markus Metzger + + * btrace.c: Include regcache.h. + (btrace_add_pc): New. + (btrace_enable): Call btrace_add_pc. + (btrace_is_empty): New. + * btrace.h (btrace_is_empty): New. + * record-btrace.c (require_btrace, record_btrace_info): Call + btrace_is_empty. + +2014-01-16 Markus Metzger + + * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace): + Support delta reads. + (linux_disable_btrace): Change return type. + * common/linux-btrace.h (linux_read_btrace): Change parameters + and return type to allow error reporting. Update users. + (linux_disable_btrace): Change return type. Update users. + * common/btrace-common.h (btrace_read_type) : + New. + (btrace_error): New. + (btrace_block) : Comment on BEGIN == 0. + * btrace.c (btrace_compute_ftrace): Start from the end of + the current trace. + (btrace_stitch_trace, btrace_clear_history): New. + (btrace_fetch): Read delta trace, return if replaying. + (btrace_clear): Move clear history code to btrace_clear_history. + (parse_xml_btrace): Throw an error if parsing failed. + * target.h (struct target_ops) : Change parameters + and return type to allow error reporting. + (target_read_btrace): Change parameters and return type to allow + error reporting. + * target.c (target_read_btrace): Update. + * remote.c (remote_read_btrace): Support delta reads. Pass + errors on. + * NEWS: Announce it. + +2014-01-16 Markus Metzger + + * record.h (record_btrace_frame_unwind) + (record_btrace_tailcall_frame_unwind): New declarations. + * dwarf2-frame: Include record.h + (dwarf2_frame_cfa): Throw an error for btrace frames. + * record-btrace.c: Include hashtab.h. + (btrace_get_bfun_name): New. + (btrace_call_history): Call btrace_get_bfun_name. + (struct btrace_frame_cache): New. + (bfcache): New. + (bfcache_hash, bfcache_eq, bfcache_new): New. + (btrace_get_frame_function): New. + (record_btrace_frame_unwind_stop_reason): Allow unwinding. + (record_btrace_frame_this_id): Compute own id. + (record_btrace_frame_prev_register): Provide PC, throw_error + for all other registers. + (record_btrace_frame_sniffer): Detect btrace frames. + (record_btrace_tailcall_frame_sniffer): New. + (record_btrace_frame_dealloc_cache): New. + (record_btrace_frame_unwind): Add new functions. + (record_btrace_tailcall_frame_unwind): New. + (_initialize_record_btrace): Allocate cache. + * btrace.c (btrace_clear): Call reinit_frame_cache. + * NEWS: Announce it. + +2014-01-16 Markus Metzger + + * record-btrace.c (record_btrace_set_replay) + (record_btrace_goto_begin, record_btrace_goto_end) + (record_btrace_goto): New. + (init_record_btrace_ops): Initialize them. + * NEWS: Announce it. + +2014-01-16 Markus Metzger + + * record-btrace.c (record_btrace_find_new_threads) + (record_btrace_thread_alive): New. + (init_record_btrace_ops): Initialize to_find_new_threads and + to_thread_alive. + +2014-01-16 Markus Metzger + + * record-btrace.c (record_btrace_resume): New. + (record_btrace_wait): New. + (init_record_btrace_ops): Initialize to_wait and to_resume. + 2014-01-16 Markus Metzger * record-btrace.c (record_btrace_xfer_partial)