gdb.trace: Fix off-by-one in tfile_fetch_registers.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 5391b09d6b31cc33ea3246f0e0110fbd1b9ce0a9..9f8aa1d5c4116e9c19ce2e7586275ccb5db03e95 100644 (file)
@@ -1,6 +1,359 @@
+2016-02-10  Marcin Koƛcielnicki  <koriakin@0x04.net>
+
+       * tracefile-tfile.c (tfile_fetch_registers): Fix off-by-one in bounds
+       check.
+
+2016-02-10  Joel Brobecker  <brobecker@adacore.com>
+
+       * NEWS: Create a new section for the next release branch.
+       Rename the section of the current branch, now that it has
+       been cut.
+
+2016-02-10  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 7.11 branch created (9ef9e6a6a0dd8f948708cb67c9afcfd0be40cb0a):
+       * version.in: Bump version to 7.11.50.DATE-git.
+
+2016-02-09  Keith Seitz  <keiths@redhat.com>
+
+       PR breakpoints/19546
+       * breakpoint.c (breakpoint_event_location_empty_p): New function.
+       (update_breakpoints_after_exec, bkpt_re_set): Use this new function
+       instead of event_location_empty_p.
+
+2016-02-09  Keith Seitz  <keiths@redhat.com>
+
+       * mi/mi-cmd-break.c (mi_cmd_break_insert_1): Use
+       string_to_event_location_basic instead of string_to_event_location.
+
+2016-02-09  Keith Seitz  <keiths@redhat.com>
+
+       * guile/scm-breakpoint.c (gdbscm_register_breakpoint_x): Skip
+       leading whitespace and use string_to_event_location_basic instead
+       of new_linespec_location.
+
+2016-02-09  Keith Seitz  <keiths@redhat.com>
+
+       PR python/19506
+       * python/py-breakpoint.c (bppy_init): Use
+       string_to_event_location_basic instead of new_linespec_location.
+
+2016-02-09  Keith Seitz  <keiths@redhat.com>
+
+       * location.c (string_to_explicit_location): Note that "-p" is
+       reserved for probe locations and return NULL for any input
+       that starts with that.
+       (string_to_event_location): Move "legacy" linespec code to ...
+       (string_to_event_location_basic): ... here.
+       * location.h (string_to_event_location): Update comment.
+       (string_to_event_location_basic): New function.
+
+2016-02-09  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
+       to AC_OUTPUT.  Remove "exit 0" at the end.
+       * configure: Regenerate.
+
+2016-02-09  Pedro Alves  <palves@redhat.com>
+
+       PR breakpoints/19548
+       * breakpoint.c (create_overlay_event_breakpoint): Don't update
+       global location list here.
+       (create_longjmp_master_breakpoint)
+       (create_std_terminate_master_breakpoint)
+       (create_exception_master_breakpoint, create_jit_event_breakpoint)
+       (update_breakpoint_locations):
+       (breakpoint_re_set): Update global location list after all
+       breakpoints are re-set.
+
+2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * remote.c (remote_register_number_and_offset): Remove unused
+       variable(s).
+       (remote_thread_always_alive): Likewise.
+       (remote_update_thread_list): Likewise.
+       (process_initial_stop_replies): Likewise.
+       (remote_start_remote): Likewise.
+       (remote_check_symbols): Likewise.
+       (discard_pending_stop_replies): Likewise.
+       (process_stop_reply): Likewise.
+       (putpkt_binary): Likewise.
+       (getpkt): Likewise.
+       (remote_add_target_side_condition): Likewise.
+       (remote_insert_breakpoint): Likewise.
+       (remote_supports_stopped_by_sw_breakpoint): Likewise.
+       (remote_supports_stopped_by_hw_breakpoint): Likewise.
+       (remote_xfer_partial): Likewise.
+       (remote_read_btrace): Likewise.
+       (remote_async_serial_handler): Likewise.
+       (remote_thread_events): Likewise.
+       (_initialize_remote): Likewise.
+
+2016-02-07  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * varobj.h (varobj_delete): Remove dellist parameter, update and
+       move documentation here.
+       * varobj.c (struct cpstack, cppush, cppop): Remove.
+       (delete_variable): Remove resultp (first) parameter.
+       (delete_variable_1): Likewise.
+       (varobj_delete): Remove dellist parameter and unused code.
+       (update_dynamic_varobj_children): Adjust varobj_delete call.
+       (update_type_if_necessary): Likewise.
+       (varobj_set_visualizer): Likewise.
+       (varobj_update): Likewise.
+       (value_of_root): Likewise.
+       (varobj_invalidate_iter): Likewise.
+       * mi/mi-cmd-var.c (mi_cmd_var_delete): Likewise.
+
+2016-02-04  Yao Qi  <yao.qi@linaro.org>
+
+       * remote.c (remote_wait_as): Set rs->waiting_for_stop_reply to
+       0 before handling 'F' and set it back afterwards.
+
+2016-02-02  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * ui-out.c (MAX_UI_OUT_LEVELS): Remove.
+
+2016-02-02  Walfred Tedeschi  <walfred.tedeschi@intel.com>
+
+       * amd64-linux-siginfo.c (nat_siginfo_t, nat_sigval_t, nat_timeval):
+       New types.
+       (compat_siginfo): New bound fields added.
+       (compat_x32_siginfo): New field added.
+       (cpt_si_addr_lsb): New define.
+       (compat_siginfo_from_siginfo): Use nat_siginfo.
+       (siginfo_from_compat_siginfo): Use nat_siginfo.
+       (compat_x32_siginfo_from_siginfo): Likewise.
+       (siginfo_from_compat_x32_siginfo): Likewise.
+
+2016-02-02  Walfred Tedeschi  <walfred.tedeschi@intel.com>
+
+       * linux-tdep.c (linux_get_siginfo_type): Add the _addr_bnd
+       structure to the siginfo if extra_fields contains
+       LINUX_SIGINFO_FIELD_ADDR_BND.
+
+2016-02-02  Walfred Tedeschi  <walfred.tedeschi@intel.com>
+
+       * linux-tdep.h (linux_get_siginfo_type_with_fields): Make extern.
+       * linux-tdep.c (linux_get_siginfo_type_with_fields): Make extern.
+       * i386-linux-tdep.h (x86_linux_get_siginfo_type): New
+       function.
+       * amd64-linux-tdep.c (amd64_linux_init_abi_common): Add
+       x86_linux_get_siginfo_type for the amd64 abi.
+       * i386-linux-tdep.c (x86_linux_get_siginfo_type): New
+       function.
+       (i386_linux_init_abi): Add new function at the i386 ABI
+       initialization.
+
+2016-02-02  Walfred Tedeschi  <walfred.tedeschi@intel.com>
+
+       * linux-tdep.h (linux_siginfo_extra_field_values): New enum values.
+       (linux_siginfo_extra_fields): New enum type.
+       * linux-tdep.c (linux_get_siginfo_type_with_fields): New function.
+       (linux_get_siginfo_type): Use new function.
+
+2016-02-02  Walfred Tedeschi  <walfred.tedeschi@intel.com>
+
+       * nat/amd64-linux-siginfo.c: New file.
+       * nat/amd64-linux-siginfo.h: New file.
+       * Makefile.in (HFILES_NO_SRCDIR): Add nat/amd64-linux-siginfo.h.
+       (amd64-linux-siginfo.o): New rule.
+       * config/i386/linux64.mh (NATDEPFILES): Add amd64-linux-siginfo.o.
+       * amd64-linux-nat.c (nat/amd64-linux-siginfo.h): New include.
+       (compat_siginfo_from_siginfo, siginfo_from_compat_siginfo)
+       (compat_x32_siginfo_from_siginfo, siginfo_from_compat_x32_siginfo)
+       (compat_timeval, compat_sigval, compat_x32_clock, cpt_si_pid)
+       (cpt_si_uid, cpt_si_timerid, cpt_si_overrun, cpt_si_status)
+       (cpt_si_utime, cpt_si_stime, cpt_si_ptr, cpt_si_addr, cpt_si_band)
+       (cpt_si_fd, si_timerid, si_overrun): Move to nat/amd64-linux-siginfo.c.
+
+2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * value.c (max_value_size): New variable.
+       (MIN_VALUE_FOR_MAX_VALUE_SIZE): New define.
+       (set_max_value_size): New function.
+       (show_max_value_size): New function.
+       (check_type_length_before_alloc): New function.
+       (allocate_value_contents): Call check_type_length_before_alloc.
+       (set_value_enclosing_type): Likewise.
+       (_initialize_values): Add set/show handler for max-value-size.
+       * NEWS: Mention new set/show command.
+
+2016-01-31  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * varobj.h (struct varobj): Fix typos in comments.
+       (struct lang_varobj_ops): Likewise.
+       * varobj.c (VAROBJ_TABLE_SIZE): Likewise.
+       (varobj_create): Move misplaced comment.
+
+2016-01-29  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * aarch64-tdep.c (aarch64_record_asimd_load_store): Add braces
+       to for include additional lines.
+       * xcoffread.c (scan_xcoff_symtab): Remove unnecessary braces.
+
+2016-01-28  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gnulib/import/Makefile.am: Regenerate.
+       * gnulib/import/Makefile.in: Regenerate.
+       * gnulib/import/m4/gnulib-cache.m4: Regenerate.
+       * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add rawmemchr.
+
+2016-01-28  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * remote.c (skip_to_semicolon): Remove.
+       (remote_parse_stop_reply): Use strchrnul instead of
+       skip_to_semicolon.
+       * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
+       strchrnul.
+       * gnulib/aclocal.m4: Regenerate.
+       * gnulib/config.in: Regenerate.
+       * gnulib/configure: Regenerate.
+       * gnulib/import/Makefile.am: Regenerate.
+       * gnulib/import/Makefile.in: Regenerate.
+       * gnulib/import/m4/gnulib-cache.m4: Regenerate.
+       * gnulib/import/m4/gnulib-comp.m4: Regenerate.
+       * gnulib/import/m4/rawmemchr.m4: New file.
+       * gnulib/import/m4/strchrnul.m4: New file.
+       * gnulib/import/rawmemchr.c: New file.
+       * gnulib/import/rawmemchr.valgrind: New file.
+       * gnulib/import/strchrnul.c: New file.
+       * gnulib/import/strchrnul.valgrind: New file.
+
+2016-01-28  Yao Qi  <yao.qi@linaro.org>
+
+       * breakpoint.c (build_target_command_list): Don't call continue
+       if aexpr is NULL.
+       (build_target_condition_list): Likewise.
+
+2016-01-27  Kevin Buettner  <kevinb@redhat.com>
+
+       * rx-tdep.c (rx_push_dummy_call): Treat scalars larger than 8
+       bytes as aggregates.
+
+2016-01-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * MAINTAINERS (Responsible Maintainers): Add Keith Seitz as
+       Linespec Maintainers.
+
+2016-01-26  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * common/common-utils.c (skip_spaces): Fix comment.
+       (skip_to_space_const): Likewise.
+
+2016-01-25  Yao Qi  <yao.qi@linaro.org>
+
+       * arch/arm-get-next-pcs.c (thumb_deal_with_atomic_sequence_raw):
+       Remove argument pc.  Get pc by regcache_read_pc.  Callers updated.
+       (arm_deal_with_atomic_sequence_raw): Likewise.
+       (thumb_get_next_pcs_raw): Likewise.
+       (arm_get_next_pcs_raw): Likewise.
+       (arm_get_next_pcs): Remove argument pc.  Callers updated.
+       * arch/arm-get-next-pcs.h (arm_get_next_pcs): Update declaration.
+
+2016-01-25  Mark Wielaard  <mjw@redhat.com>
+
+       * ada-lang.c (ada_evaluate_subexp): Add proper else block.
+       * c-typeprint.c (c_type_print_base): Fix misleading indentation of
+       if statement.
+       * inflow.c (child_terminal_ours_1): Fix misleading indentation of
+       statement block by introducing an else.
+       * linux-record.c (record_linux_sockaddr): Fix misleading indentation
+       of return statements.
+       (record_linux_msghdr): Likewise.
+
+2016-01-25  Pedro Alves  <palves@redhat.com>
+
+       PR threads/19461
+       * infrun.c (handle_inferior_event_1) <fork/vfork>: Update
+       parent/child running states.
+
+2016-01-25  Pedro Alves  <palves@redhat.com>
+
+       PR gdb/19494
+       * linux-nat.c (kill_one_lwp): New, factored out from ...
+       (kill_callback): ... this.
+       (kill_wait_callback): New, factored out from ...
+       (kill_wait_one_lwp): ... this.
+       (kill_unfollowed_fork_children): New function.
+       (linux_nat_kill): Use it.
+
+2016-01-22  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-nat.c (fbsd_pid_to_str): Adjust string format.
+
+2016-01-22  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-linux-nat.c (fetch_fpregs): Call perror_with_name
+       instead of warning.
+       (store_fpregs, fetch_regs, store_regs): Likewise.
+       (fetch_wmmx_regs, store_wmmx_regs): Likewise.
+       (fetch_vfp_regs, store_vfp_regs): Likewise.
+
+2016-01-21  Doug Evans  <dje@google.com>
+
+       * breakpoint.c (init_breakpoint_sal): Add comment.
+
+2016-01-21  Marcin Koƛcielnicki  <koriakin@0x04.net>
+
+       * ax-gdb.c (gen_traced_pop): Use gen_fetch for string collection.
+
+2016-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * disasm.c (maybe_add_dis_line_entry): Rename to...
+       (add_dis_line_entry): ...this, and update header comment.
+       (do_mixed_source_and_assembly): Now use add_dis_line_entry.
+
+2016-01-21  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (COMPILER_CFLAGS): New.
+       (CXXFLAGS): Get it from configure.
+       (INTERNAL_CFLAGS_BASE, INTERNAL_LDFLAGS): Use COMPILER_CFLAGS
+       instead of CFLAGS.
+       * build-with-cxx.m4 (GDB_AC_BUILD_WITH_CXX): Set and AC_SUBST
+       COMPILER_CFLAGS.
+       * configure: Regenerate.
+
+2016-01-21  Joel Brobecker  <brobecker@adacore.com>
+
+       * location.h (new_address_location): Add new parameters
+       "addr_string" and "addr_string_len".
+       (get_address_string_location): Add declaration.
+       * location.c (new_address_location): Add new parameters
+       "addr_string" and "addr_string_len".  If not NULL, store
+       a copy of the addr_string in the new location as well.
+       (get_address_string_location): New function.
+       (string_to_event_location): Update call to new_address_location.
+       * linespec.c (event_location_to_sals) <ADDRESS_LOCATION>:
+       Save the event location in the parser's state before
+       passing it to convert_address_location_to_sals.
+       * breakpoint.c (create_thread_event_breakpoint): Update call
+       to new_address_location.
+       (init_breakpoint_sal): Get the event location's string, if any,
+       and use it to update call to new_address_location.
+       * python/py-finishbreakpoint.c (bpfinishpy_init):
+       Update call to new_address_location.
+       * spu-tdep.c (spu_catch_start): Likewise.
+
+       * config/djgpp/fnchange.lst: Add entries for
+       gdb/testsuite/gdb.base/break-fun-addr1.c and
+       gdb/testsuite/gdb.base/break-fun-addr2.c.
+
+2016-01-21  Yao Qi  <yao.qi@linaro.org>
+
+       * arm-linux-tdep.c (arm_linux_sigreturn_next_pc): Add parameter
+       is_thumb and set it according to CPSR saved on the stack.
+       (arm_linux_get_next_pcs_syscall_next_pc): Pass is_thumb to
+       arm_linux_sigreturn_next_pc.
+
+2016-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * python/lib/gdb/printing.py (FlagEnumerationPrinter.__call__):
+       Fix enumerators sort key function.
+
 2016-01-20  Joel Brobecker  <brobecker@adacore.com>
 
-       * printcmd.c (print_scalar_formatted): move binary operator from
+       * printcmd.c (print_scalar_formatted): Move binary operator from
        end of line to beginning of next line.  Adjust formatting
        accordingly.
 
This page took 0.035076 seconds and 4 git commands to generate.