2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 52518e29c0b57e72a6a078570c2f7c8a371cc33f..0ae93e0efae9b88d0d6ceaa42b96627b63cd770a 100644 (file)
@@ -1,8 +1,187 @@
+2011-12-16  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * python/python.c: Define python_excp_enums.
+       (eval_python_from_control_command): Do not call gdbpy_print_stack.
+       (python_command): Ditto.
+       (gdbpy_print_stack): Rewrite to use new enum constants.
+       (maint_set_python): Remove function.
+       (maint_show_python): Ditto.
+       (_initialize_python): Do not add "maint" commands.  Add "set/show
+       python print-stack commands".
+       * NEWS: Update to reflect removal for "maint set/show
+       print-stack"
+
+2011-12-15  Doug Evans  <dje@google.com>
+
+       * exceptions.c (catcher_list_size): New function.
+       (last_message): Delete.
+       (exception_messages, exception_messages_size): New static globals.
+       (throw_it): Use exception_messages array to handle nested calls.
+
+2011-12-15  Tom Tromey  <tromey@redhat.com>
+
+       * symfile.c (symbol_file_add_with_addrs_or_offsets): Remove bad
+       do_cleanups call.
+
+2011-12-14  Doug Evans  <dje@google.com>
+
+       * defs.h (wait_to_die_with_timeout): Declare.
+       * utils.c: #include "gdb_wait.h".
+       (sigalrm_handler, wait_to_die_with_timeout): New functions.
+       * ser-pipe.c: Don't #include "gdb_wait.h".
+       (pipe_close): Give child a chance to die on its own after closing
+       its stdin before SIGTERM'ing it.
+
+2011-12-14  Joel Brobecker  <brobecker@adacore.com>
+           Tom Tromey  <tromey@redhat.com>
+
+       * ada-lang.c (add_nonlocal_symbols): Initialize data to
+       all zeros.  Remove setting of data.arg_sym to NULL.
+
+2011-12-14  Pedro Alves  <pedro@codesourcery.com>
+
+       PR threads/10729
+
+       * linux-nat.c (linux_nat_new_thread): Change parameter to an lwp
+       pointer.
+       (linux_nat_prepare_to_resume): New global.
+       (lwp_free): New.
+       (purge_lwp_list): Use it.
+       (add_lwp): Call linux_nat_new_thread even on the first LWP.
+       Adjust to interface change.
+       (delete_lwp): Call lwp_free instead of xfree.
+       (detach_callback, linux_nat_detach, resume_lwp, linux_nat_resume)
+       (linux_handle_syscall_trap, linux_handle_extended_wait)
+       (linux_nat_filter_event, resume_stopped_resumed_lwps): Call
+       linux_nat_prepare_to_resume before resuming.
+       (linux_stop_lwp): New.
+       (linux_nat_set_new_thread): Adjust.
+       (linux_nat_set_prepare_to_resume): New.
+       * linux-nat.h (struct arch_lwp_info): Forward declare.
+       (struct lwp_info) <arch_private>: New field.
+       (linux_stop_lwp): Declare.
+       (linux_nat_set_new_thread): Adjust.
+       (linux_nat_set_prepare_to_resume): New.
+
+       * i386-nat.c (DR_NADDR, DR_STATUS, DR_CONTROL)
+       (struct i386_debug_reg_state): Move to i386-nat.h.
+       (dr_mirror): Comment.
+       (i386_debug_reg_state): New.
+       (i386_update_inferior_debug_regs): Simplify.
+       (i386_stopped_data_address): Use the debug register state from the
+       inferior, not from the local cache.
+       * i386-nat.h (struct i386_dr_low_type): Delete reset_addr and
+       unset_status fields.  New get_addr and get_control fields.
+       (DR_FIRSTADDR, DR_LASTADDR, DR_CONTROL): Moved from i386-nat.c.
+       (DR_NADDR, DR_STATUS): New.
+       (struct i386_debug_reg_state): Moved from i386-nat.c.
+
+       * amd64-linux-nat.c (struct arch_lwp_info): New.
+       (amd64_linux_dr): Delete global.
+       (amd64_linux_dr_get_addr): New.
+       (amd64_linux_dr_get_control): New.
+       (amd64_linux_dr_unset_status): Delete.
+       (amd64_linux_dr_set_addr): Reimplement.
+       (amd64_linux_dr_reset_addr): Delete.
+       (update_debug_registers_callback): New.
+       (amd64_linux_dr_set_control): Reimplement.
+       (amd64_linux_dr_set_addr): Reimplement.
+       (amd64_linux_prepare_to_resume): New.
+       (amd64_linux_new_thread): Change parameter to an lwp pointer.
+       Reimplement.
+       (_initialize_amd64_linux_nat): No longer install
+       i386_dr_low.reset_addr and i386_dr_low.unset_status.  Install
+       amd64_linux_dr_get_control as i386_dr_low.get_control.  Install
+       amd64_linux_dr_get_addr as i386_dr_low.get_addr.  Install
+       amd64_linux_prepare_to_resume.
+       * i386-linux-nat.c (DR_FIRSTADDR, DR_LASTADDR, DR_STATUS)
+       (DR_CONTROL): Delete.
+       (struct arch_lwp_info): New.
+       (i386_linux_dr): Delete global.
+       (i386_linux_dr_set_control): Reimplement.
+       (i386_linux_dr_get_addr): New.
+       (i386_linux_dr_set_addr): Reimplement.
+       (i386_linux_dr_get_control): New.
+       (update_debug_registers_callback): New.
+       (i386_linux_dr_unset_status): Delete.
+       (i386_linux_dr_set_addr): Reimplement.
+       (i386_linux_prepare_to_resume): New.
+       (i386_linux_new_thread): Change parameter to an lwp pointer.
+       Reimplement.
+       (_initialize_i386_linux_nat): No longer install
+       i386_dr_low.reset_addr and i386_dr_low.unset_status.  Install
+       i386_linux_dr_get_control as i386_dr_low.get_control.  Install
+       i386_linux_dr_get_addr as i386_dr_low.get_addr.  Install
+       i386_linux_prepare_to_resume.
+
+       * arm-linux-nat.c (arm_linux_new_thread): Change parameter to an
+       lwp pointer.  Adjust.
+       * ia64-linux-nat.c (ia64_linux_new_thread): Likewise.
+       * mips-linux-nat.c (mips_linux_new_thread): Likewise.
+       * ppc-linux-nat.c (ppc_linux_new_thread): Likewise.
+       * s390-nat.c (s390_fix_watch_points): Likewise.
+
+       * i386-darwin-nat.c (DR_FIRSTADDR, DR_LASTADDR, DR_STATUS)
+       (DR_CONTROL): Delete.
+       (i386_darwin_dr_reset_addr): Delete.
+       (i386_darwin_dr_get_addr): New.
+       (i386_darwin_dr_get_control): New.
+       * go32-nat.c
+       (go32_get_dr7, go32_get_dr): New.
+       (init_go32_ops): No longer install i386_dr_low.reset_addr.
+       Install go32_get_dr7 as i386_dr_low.get_control.  Install
+       go32_get_dr as i386_dr_low.get_addr.
+       * i386bsd-nat.c (i386bsd_dr_get): New.
+       (i386bsd_dr_reset_addr): Delete.
+       (i386bsd_dr_get_addr): New.
+       (i386bsd_dr_get_status): Use i386bsd_dr_get.
+       (i386bsd_dr_get_control): New.
+       * i386bsd-nat.h (i386bsd_dr_reset_addr): Delete.
+       (i386bsd_dr_get_addr): New.
+       (i386bsd_dr_get_control): New.
+       * i386fbsd-nat.c (_initialize_i386fbsd_nat): No longer install
+       i386_dr_low.reset_addr and i386_dr_low.unset_status.  Install
+       i386bsd_dr_get_control as i386_dr_low.get_control.  Install
+       i386bsd_dr_get_addr as i386_dr_low.get_addr.
+       * windows-nat.c (init_windows_ops): No longer install
+       i386_dr_low.reset_addr and i386_dr_low.unset_status.  Install
+       cygwin_get_dr7 as i386_dr_low.get_control.  Install cygwin_get_dr
+       as i386_dr_low.get_addr.
+       (cygwin_get_dr): New.
+       (cygwin_get_dr7): New.
+
+2011-12-14  Pedro Alves  <pedro@codesourcery.com>
+
+       * ia64-tdep.c (ia64_memory_remove_breakpoint): Use
+       target_write_raw_memory.
+       * m32r-tdep.c (m32r_memory_remove_breakpoint): Use
+       target_write_raw_memory.
+       * microblaze-linux-tdep.c
+       (microblaze_linux_memory_remove_breakpoint): Use
+       target_write_raw_memory.
+       * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Use
+       target_write_raw_memory.
+
+2011-12-14  Joel Brobecker  <brobecker@adacore.com>
+
+       * linespec.c (decode_line_internal): Make static.
+
+2011-12-14  Yao Qi  <yao@codesourcery.com>
+
+       * breakpoint.c (create_breakpoint): Set canonical.addr_string
+       for static tracepoint.
+
 2011-12-13  Joel Brobecker  <brobecker@adacore.com>
 
        GDB 7.4 branch created (branch timestamp: 2011-12-13 13:00 UTC)
        * version.in: Bump version to 7.4.50.20111213-cvs.
 
+2011-12-13  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.
+
 2011-12-11  Joel Brobecker  <brobecker@adacore.com>
 
        * ada-lang.c (ada_exception_support_info_sniffer): Improve
 
 2011-11-15  Doug Evans  <dje@google.com>
 
+       PR gdb/8367
        * NEWS: Mention new parameter basenames-may-differ.
        * dwarf2read.c (dw2_lookup_symtab): Avoid calling gdb_realpath if
        ! basenames_may_differ.
 
 2011-11-14  Doug Evans  <dje@google.com>
 
-       Make "!" an alias for "shell".
+       PR gdb/7200 Make "!" an alias for "shell".
        * NEWS: Add mention.
        * cli/cli-cmds.c (init_cli_cmds): Remove xdb_commands condition on
        adding "!" command, always add it.
This page took 0.0273 seconds and 4 git commands to generate.