X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=gdb%2FChangeLog;h=a96b3423ab11faff4a1ff6b50edd1f989c27b959;hb=859cf5d1dea467019bf0a822eeda059427ecf440;hp=077d059d9b836307e1bb6eb9144872787f09f781;hpb=32261e523447cdecdfffe93807ac9bd0de3fe88d;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 077d059d9b..a96b3423ab 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,417 @@ +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) + (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint) + (record_btrace_allow_memory_access): New. + (init_record_btrace_ops): Initialize new methods. + * target.c (raw_memory_xfer_partial): Bail out if target reports + that this memory is not available. + +2014-01-16 Markus Metzger + + * target.h (target_ops) + : Add target_ops parameter. + (forward_target_insert_breakpoint): New. + (forward_target_remove_breakpoint): New. + (memory_remove_breakpoint, memory_insert_breakpoint): + Add target_ops parameter. + * target.c (target_insert_breakpoint): Split into this and ... + (forward_target_insert_breakpoint): ... this. + (target_remove_breakpoint): Split into this and ... + (forward_target_remove_breakpoint): ... this. + (debug_to_insert_breakpoint): Add target_ops parameter. + Call forward_target_insert_breakpoint. + (debug_to_remove_breakpoint): Add target_ops parameter. + Call forward_target_remove_breakpoint. + (update_current_target): Do not inherit or default to_insert_breakpoint + and to_remove_breakpoint. + * corelow.c (ignore): Add target_ops parameter. + * exec.c (ignore): Add target_ops parameter. + * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): + Add target_ops parameter. + * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint): + Add target_ops parameter. + * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint): + Add target_ops parameter. + * record-full.c (record_full_beneath_to_insert_breakpoint) + (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint) + (tmp_to_remove_breakpoint, record_full_insert_breakpoint) + (record_full_remove_breakpoint, record_full_core_insert_breakpoint) + (record_full_core_remove_breakpoint): Add target_ops parameter. + Update users. + (record_full_beneath_to_insert_breakpoint_ops) + (record_full_beneath_to_remove_breakpoint_ops) + (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New. + (record_full_open): Initialize tmp_to_insert_breakpoint_ops, + tmp_to_remove_breakpoint_ops, + record_full_beneath_to_insert_breakpoint_ops, and + record_full_beneath_to_remove_breakpoint_ops. + * remote-m32r-sdi.c (m32r_insert_breakpoint) + (m32r_remove_breakpoint): Add target_ops parameter. + * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint): + Add target_ops parameter. + * remote.c (remote_insert_breakpoint, remote_remove_breakpoint): + Add target_ops parameter. + +2014-01-16 Jan Kratochvil + Markus Metzger + + * record-btrace.c: Include frame-unwind.h. + (record_btrace_frame_unwind_stop_reason) + (record_btrace_frame_this_id, record_btrace_frame_prev_register) + (record_btrace_frame_sniffer, record_btrace_frame_unwind): + New. + (init_record_btrace_ops): Install it. + +2014-01-16 Jan Kratochvil + + * frame.c (get_frame_unwind_stop_reason): Unconditionally call + get_prev_frame_1. + 2014-01-16 Jan Kratochvil * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check