2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index f594705c905515fab27b2e440250a8e6cf2cdba4..0ae93e0efae9b88d0d6ceaa42b96627b63cd770a 100644 (file)
@@ -1,3 +1,327 @@
+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
+       error message.
+
+2011-12-11  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (struct ada_inferior_data) [exception_info]:
+       New field.
+       (exception_info): Delete.
+       (ada_exception_support_info_sniffer): Get exception_support_info
+       data from our per-inferior data.  Adjust code accordingly.
+       (ada_unhandled_exception_name_addr_from_raise): Likewise.
+       (ada_exception_name_addr_1, ada_exception_sym_name): Ditto.
+       (ada_executable_changed_observer): Delete.
+       (_initialize_ada_language): Remove call to
+       observer_attach_executable_changed.
+
+2011-12-11  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_has_this_exception_support): Raise an error
+       if we could find the Ada exception hook in the Ada runtime,
+       but no debugging info for that hook.
+
+2011-12-11  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (ada_has_this_exception_support): New function,
+       extracted out of ada_exception_sal and ada_exception_sal.
+       (ada_exception_support_info_sniffer): Simplify by using
+       ada_has_this_exception_support.
+       (ada_exception_sal): Replace unnecessary checks by assertions.
+       Minor simplifications.
+
+2011-12-10  Andrey Smirnov  <andrew.smirnov@gmail.com>
+
+       * breakpoint.c (update_global_location_list): Remove nested
+       definition of `b'(-Wshadow).
+
+2011-12-10  Andrey Smirnov  <andrew.smirnov@gmail.com>
+
+       * breakpoint.c (insert_breakpoint_locations): Rename `error' to
+       `error_flag'(-Wshadow).
+
+2011-12-10  Andrey Smirnov  <andrew.smirnov@gmail.com>
+
+       * bfd-target.c (target_bfd_reopen): Rename `bfd' to
+       `abfd'(-Wshadow).
+
+2011-12-10  Andrey Smirnov  <andrew.smirnov@gmail.com>
+
+       * annotate.c (annotate_array_section_begin): Rename `index' to
+       `idx'(-Wshadow).
+
+2011-12-10  Andrey Smirnov  <andrew.smirnov@gmail.com>
+
+       * amd64-tdep.c (amd64_get_unused_input_int_reg): Rename `index' to
+       `idx'(-Wshadow).
+
+2011-12-10  Andrey Smirnov  <andrew.smirnov@gmail.com>
+
+       * amd64-linux-tdep.c (amd64_canonicalize_syscall): Rename
+       `syscall' to `syscall_number'(-Wshadow).
+
+2011-12-10  Andrey Smirnov  <andrew.smirnov@gmail.com>
+
+       * ada-lang.c (remove_extra_symbols): Rename `remove' to
+       `remove_p'(-Wshadow).
+
+2011-12-10  Andrey Smirnov  <andrew.smirnov@gmail.com>
+
+       * ada-exp.y (write_var_or_type): Rename nested `renaming' to
+       `ren_sym'(-Wshadow).
+
+2011-12-10  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dwarf2_per_cu_data): Rename debug_type_section to
+       debug_types_section.  All uses updated.
+       (partial_read_comp_unit_head): Rename parameter is_debug_type_section
+       to is_debug_types_section.
+
+       * python/py-auto-load.c (source_section_scripts): Call xfree
+       instead of free.
+
+2011-12-10  Hui Zhu  <teawater@gmail.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (start_tracing): Clear `inserted' flag.
+
+2011-12-10  Hui Zhu  <teawater@gmail.com>
+
+       * tracepoint.c (create_tsv_from_upload): Change sprintf to xstrprintf.
+
+2011-12-09  Andrey Smirnov  <andrew.smirnov@gmail.com>
+
+       * breakpoint.c (bp_loc_is_permanent): Rename `brk' to
+       `bpoint'(-Wshadow).
+
+2011-12-09  Andrey Smirnov  <andrew.smirnov@gmail.com>
+
+       * breakpoint.c (update_static_tracepoint): Rename nested `sal' and
+       `marker' variables to `sal2' and `tpmarker' respectively
+       (-Wshadow).
+
+2011-12-09  Andrew Pinski  <apinski@cavium.com>
+
+       * linespec.c (hash_address_entry): Use iterative_hash_object on each
+       field rather than the struct itself.
+
+2011-12-09  Tom Tromey  <tromey@redhat.com>
+
+       * breakpoint.c (compare_breakpoints): New function.
+       (clear_command): Remove duplicate breakpoints.  Properly clean
+       up.
+
+2011-12-08  Maciej W. Rozycki  <macro@mips.com>
+            Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips-tdep.c (mips_skip_mips16_trampoline_code): Sign-extend
+       address chunks retrieved from decoded lui/addiu pairs.
+
+2011-12-08  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips-tdep.c (extended_offset): Correct calculation.
+       (unpack_mips16): Correct bitfield positions used for extraction
+       of the immediate argument; fix sign-extension of same.
+       (extended_mips16_next_pc): Correct B instruction's offset
+       calculation.  Correct register decoding of the BEQZ and BNEZ
+       as well as jump-register instructions.  Handle compact jumps.
+
+2011-12-08  Tom Tromey  <tromey@redhat.com>
+
+       * objfiles.h (struct objfile): Remove obsolete comment.
+       * objfiles.c (build_objfile_section_table): Remove obsolete
+       comment.
+
+2011-12-07  Stan Shebs  <stan@codesourcery.com>
+
+       * MAINTAINERS (Responsible Maintainers): Add Yao Qi as
+       maintainer of the tic6x target.
+
 2011-12-07  Ulrich Weigand  <ulrich.weigand@linaro.org>
 
        * arm-tdep.h (arm_deal_with_atomic_sequence): Add prototype.
 
 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.035344 seconds and 4 git commands to generate.