Add support for reading frame registers to Python API.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 0978d63ff35cc91c6af014428f1aa1d9101c534d..7348bfb223d84cb9db1c3a067e9627c9e5e0ba68 100644 (file)
@@ -1,3 +1,271 @@
+2014-09-03  Sasha Smundak  <asmundak@google.com>
+
+       * python/py-frame.c (frapy_read_register): New function.
+
+2014-09-03  James Hogan  <james.hogan@imgtec.com>
+
+       * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
+       prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
+
+2014-09-03  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       PR python/16699
+       * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
+       function.
+       (add_cmd): Set "completer_handle_brkchars" to NULL.
+       * cli/cli-decode.h (struct cmd_list_element)
+       <completer_handle_brkchars>: New field.
+       * command.h (completer_ftype_void): New typedef.
+       (set_cmd_completer_handle_brkchars): New prototype.
+       * completer.c (set_gdb_completion_word_break_characters): New
+       function.
+       (complete_line_internal): Call "completer_handle_brkchars"
+       callback from command.
+       * completer.h: Include "command.h".
+       (set_gdb_completion_word_break_characters): New prototype.
+       * python/py-cmd.c (cmdpy_completer_helper): New function.
+       (cmdpy_completer_handle_brkchars): New function.
+       (cmdpy_completer): Adjust to use cmdpy_completer_helper.
+       (cmdpy_init): Set completer_handle_brkchars to
+       cmdpy_completer_handle_brkchars.
+
+2014-09-03  Gary Benson  <gbenson@redhat.com>
+
+       * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
+       (ALL_DEBUG_ADDRESS_REGISTERS): New macro.  All uses updated.
+       Loop conditions changed to equivalent form.
+       (struct x86_debug_reg_state): Updated dr_ref_count comment.
+       * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
+       ALL_DEBUG_ADDRESS_REGISTERS.
+
+2014-09-03  Joel Brobecker  <brobecker@adacore.com>
+
+       * dwarf2loc.h (dwarf2_evaluate_property): Minor function
+       description fix.
+
+2014-09-02  Doug Evans  <dje@google.com>
+
+       * typeprint.c (find_global_typedef): Fix comment.
+
+2014-09-02  Gary Benson  <gbenson@redhat.com>
+
+       * i386-nat.h: Renamed as...
+       * x86-nat.h: New file.  All type, function and variable name
+       prefixes changed from "i386_" to "x86_".  All references updated.
+       * i386-nat.c: Renamed as...
+       * x86-nat.c: New file.  All type, function and variable name
+       prefixes changed from "i386_" to "x86_".  All references updated.
+       * common/i386-xstate.h: Renamed as...
+       * common/x86-xstate.h: New file.  All type, function and variable
+       name prefixes changed from "i386_" to "x86_".  All references
+       updated.
+       * nat/i386-cpuid.h: Renamed as...
+       * nat/x86-cpuid.h: New file.  All type, function and variable name
+       prefixes changed from "i386_" to "x86_".  All references updated.
+       * nat/i386-gcc-cpuid.h: Renamed as...
+       * nat/x86-gcc-cpuid.h: New file.  All type, function and variable
+       name prefixes changed from "i386_" to "x86_".  All references
+       updated.
+       * nat/i386-dregs.h: Renamed as...
+       * nat/x86-dregs.h: New file.  All type, function and variable name
+       prefixes changed from "i386_" to "x86_".  All references updated.
+       * nat/i386-dregs.c: Renamed as...
+       * nat/x86-dregs.c: New file.  All type, function and variable name
+       prefixes changed from "i386_" to "x86_".  All references updated.
+
+2014-09-01  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * varobj.c (_initialize_varobj): Move to the end of file.
+
+2014-08-29  Gary Benson  <gbenson@redhat.com>
+
+       * common/common-exceptions.h: New file.
+       * common/common-exceptions.c: Likewise.
+       * Makefile.in (SFILES): Add common/common-exceptions.c.
+       (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
+       (COMMON_OBS): Add common-exceptions.o.
+       (common-exceptions.o): New rule.
+       * exceptions.h (common-exceptions.h): Include.
+       (gdb_setjmp.h): Do not include.
+       (return_reason): Moved to common-exceptions.h.
+       (enum return_reason): Likewise.
+       (RETURN_MASK): Likewise.
+       (typedef return_mask): Likewise.
+       (enum errors): Likewise.
+       (struct gdb_exception): Likewise.
+       (exceptions_state_mc_init): Likewise.
+       (exceptions_state_mc_action_iter): Likewise.
+       (exceptions_state_mc_action_iter_1): Likewise.
+       (TRY_CATCH): Likewise.
+       (throw_exception): Likewise.
+       (throw_verror): Likewise.
+       (throw_vquit): Likewise.
+       (throw_error): Likewise.
+       (throw_quit): Likewise.
+       * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
+       (enum catcher_action): Likewise.
+       (struct catcher): Likewise.
+       (current_catcher): Likewise.
+       (catcher_list_size): Likewise.
+       (exceptions_state_mc_init): Likewise.
+       (catcher_pop): Likewise.
+       (exceptions_state_mc): Likewise.
+       (exceptions_state_mc_action_iter): Likewise.
+       (exceptions_state_mc_action_iter_1): Likewise.
+       (throw_exception): Likewise.
+       (exception_messages): Likewise.
+       (exception_messages_size): Likewise.
+       (throw_it): Likewise.
+       (throw_verror): Likewise.
+       (throw_vquit): Likewise.
+       (throw_error): Likewise.
+       (throw_quit): Likewise.
+       (prepare_to_throw_exception): New function.
+
+2014-08-29  Gary Benson  <gbenson@redhat.com>
+
+       * common/gdb_setjmp.h: New file.
+       * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
+       * configure.ac: Move sigsetjmp check...
+       * common/common.m4: ...here.
+       * configure: Regenerate.
+       * cp-support.c (SIGJMP_BUF): Delete.
+       (SIGSETJMP): Likewise.
+       (SIGLONGJMP): Likewise.
+       * exceptions.h (gdb_setjmp.h): Include.
+       (setjmp.h): Do not include.
+       (EXCEPTIONS_SIGJMP_BUF): Delete.
+       (EXCEPTIONS_SIGSETJMP): Likewise.
+       (EXCEPTIONS_SIGLONGJMP): Likewise.
+       Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
+       from gdb_setjmp.h.
+       * exceptions.c: Likewise.
+
+2014-08-29  Gary Benson  <gbenson@redhat.com>
+
+       * cleanups.h: Moved to...
+       * common/cleanups.h: New file.
+       * cleanups.c: Moved to...
+       * common/cleanups.c: New file.  Include common-defs.h and
+       cleanups.h.  Do not include defs.h.
+       * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
+       (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
+       (cleanups.o): New rule.
+
+2014-08-29  Gary Benson  <gbenson@redhat.com>
+
+       * common/errors.h (internal_warning): New declaration.
+       (internal_vwarning): Likewise.
+       * common/errors.c (internal_warning): New function.
+       * utils.h (internal_warning): Don't declare.
+       (internal_vwarning): Likewise.
+       * utils.c (internal_warning): Removed.
+
+2014-08-29  Gary Benson  <gbenson@redhat.com>
+
+       * main.c (captured_main): Use warning during startup.
+       Prefix startup warning messages with command name.
+
+2014-08-29  Gary Benson  <gbenson@redhat.com>
+
+       * main.c (captured_main): Handle usage errors with error.
+
+2014-08-29  Gary Benson  <gbenson@redhat.com>
+
+       * go32-nat.c (go32_create_inferior): Replace a fprintf/
+       exit pair with a call to error.  Wrap the message with _().
+
+2014-08-29  Gary Benson  <gbenson@redhat.com>
+
+       * main.c (captured_main): Replace a fprintf/exit
+       pair with a call to error.  Wrap the message with _().
+
+2014-08-29  Gary Benson  <gbenson@redhat.com>
+
+       * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
+       pairs with calls to error.  Wrap the message with _().
+
+2014-08-29  Gary Benson  <gbenson@redhat.com>
+
+       * utils.c (vwarning): Protect calls to target_terminal_ours
+       and wrap_here.
+
+2014-08-29  Gary Benson  <gbenson@redhat.com>
+
+       * exceptions.c (print_flush): Protect calls to
+       target_terminal_ours and wrap_here.
+
+2014-08-29  Gary Benson  <gbenson@redhat.com>
+
+       * utils.h (filtered_printing_initialized): New declaration.
+       * utils.c (abort_with_message): New function.
+       (internal_vproblem): Use abort_with_message for first level
+       recursive internal problems, and if gdb_stderr is not set up.
+       Protect calls to target_terminal_ours, begin_line and query.
+
+2014-08-28  Doug Evans  <dje@google.com>
+
+       * symtab.c (in_prologue): Move definition to better spot.
+       (skip_prologue_using_sal): Ditto.
+
+2014-08-28  Doug Evans  <dje@google.com>
+
+       * symtab.c (find_function_start_sal): Move definition to better spot.
+
+2014-08-28  Yao Qi  <yao@codesourcery.com>
+
+       * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
+       found_stack_adjust in forward scan.  Remove condition check
+       on found_stack_adjust which is always true.  Indent the code.
+
+2014-08-28  Yao Qi  <yao@codesourcery.com>
+
+       * dwarf2read.c (dwarf_decode_lines): Update declaration.
+       (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
+       (dwarf_decode_lines): Remove argument
+       want_line_info.  Remove condition check on want_line_info.
+       Callers update.
+
+2014-08-27  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dwarf_record_line): Fix typo.
+
+2014-08-27  Patrick Palka  <patrick@parcs.ath.cx>
+
+       * target.h (struct target_ops::to_terminal_save_ours): Remove
+       declaration.
+       (target_terminal_save_ours): Remove macro.
+       * target-delegates.c: Regenerate.
+       * inf-child.c (inf_child_target): Don't set the nonexistent
+       field to_terminal_save_ours.
+       * inferior.h (child_terminal_save_ours): Remove declaration.
+       * terminal.h (gdb_save_tty_state): New declaration.
+       * inflow.c (child_terminal_save_ours): Rename to ...
+       (gdb_save_tty_state): ... this.
+       * tui/tui.c: Include terminal.h.
+       (tui_enable): Use gdb_save_tty_state instead of
+       target_terminal_save_ours.
+       (tui_disable): Likewise.
+
+2014-08-25  Doug Evans  <dje@google.com>
+
+       * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
+       Pass NULL instead of 0 for context pointer.
+
+2014-08-25  Yao Qi  <yao@codesourcery.com>
+
+       * dwarf2read.c: Fix grammatical error.
+
+2014-08-24  Yao Qi  <yao@codesourcery.com>
+
+       * dwarf2read.c (scan_partial_symbols):  Update comments.
+       Rename argument 'need_pc' with 'set_addrmap'.
+       (add_partial_namespace): Rename argument 'need_pc' with
+       'set_addrmap'.
+       (add_partial_module): Likewise.
+       (add_partial_subprogram): Likewise.  Update comments.
+       (dwarf2_name): Fix typo.
+
 2014-08-22  Doug Evans  <dje@google.com>
 
        PR 17276
This page took 0.063385 seconds and 4 git commands to generate.