gdb/
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index a166d14561ba71c862cafea02c8ccf00ad40858d..9333ab15b0b02ddc281cdc35c83117718726a154 100644 (file)
@@ -1,3 +1,125 @@
+2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix initial language detection with -readnow.
+       * dwarf2read.c (dw2_find_symbol_file): Handle OBJF_READNOW case.
+       * symfile.h (struct quick_symbol_functions): State find_symbol_file
+       searches only for global symbols.
+
+2011-10-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix printed anonymous struct name.
+       * dwarf2read.c (fixup_partial_die): Handle for anonymous structs also
+       DW_TAG_interface_type.  Strip for anonymous structs any prefixes.
+       (anonymous_struct_prefix): New function.
+       (determine_prefix): New variables retval.  Call anonymous_struct_prefix.
+       (dwarf2_name): Strip for anonymous structs any prefixes.
+
+2011-10-07  Doug Evans  <dje@google.com>
+
+       * python/lib/gdb/printing.py (register_pretty_printer): New argument
+       `replace'.
+
+       * python/lib/gdb/printing.py: Whitespace cleanup.
+
+       * python/py-value.c (valpy_call): Initialize ftype to avoid compiler
+       warning.
+
+2011-10-07  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-nat.h (ALL_LWPS): Remove the ptid parameter.
+       * amd64-linux-nat.c (amd64_linux_dr_set_control)
+       (amd64_linux_dr_set_addr, amd64_linux_dr_unset_status): Adjust.
+       * arm-linux-nat.c (arm_linux_insert_hw_breakpoint)
+       (arm_linux_remove_hw_breakpoint, arm_linux_insert_watchpoint)
+       (arm_linux_remove_watchpoint): Adjust.
+       * i386-linux-nat.c (i386_linux_dr_set_control)
+       (i386_linux_dr_set_addr, i386_linux_dr_unset_status): Adjust.
+       * ia64-linux-nat.c (ia64_linux_insert_watchpoint)
+       (ia64_linux_remove_watchpoint): Adjust.
+       * mips-linux-nat.c (write_watchpoint_regs): Adjust.
+       * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint)
+       (ppc_linux_insert_hw_breakpoint, ppc_linux_remove_hw_breakpoint)
+       (ppc_linux_insert_mask_watchpoint)
+       (ppc_linux_remove_mask_watchpoint, ppc_linux_insert_watchpoint)
+       (ppc_linux_remove_watchpoint): Adjust.
+       * s390-nat.c (s390_insert_watchpoint, s390_remove_watchpoint):
+       Adjust.
+
+2011-10-07  Corinna Vinschen  <vinschen@redhat.com>
+
+       * windows-nat.c: Include wchar.h to avoid compiler warnings.
+       (clear_win32_environment): New function for Cygwin to clear out
+       Win32 environment.
+       (windows_create_inferior): Prepare new environment from in_env
+       for Cygwin, too.
+
+2011-10-07  Phil Muldoon  <pmuldoon@redhat.com>
+
+       PR python/13264
+       * python/py-value.c (valpy_call): Check that arguments are
+       a tuple.
+        (is_intlike): Remove call to CHECK_TYPEDEF.
+       (valpy_nonzero): Catch GDB exceptions.
+       (valpy_absolute): Ditto.
+        (valpy_lazy_string): Ditto.
+        (valpy_call): Ditto.
+        (valpy_get_is_optimized_out): Ditto.
+        (valpy_long): Ditto.
+        (valpy_float): Ditto.
+        (valpy_int): Call CHECK_TYPEDEF.  Catch GDB exceptions.
+        (valpy_richcompare): Ditto.
+
+2011-10-07  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       * inferior.h (disable_randomization): Declare.
+       * infrun.c (disable_randomization): New global variable.
+       (show_disable_randomization): New function.
+       (set_disable_randomization): Likewise.
+       (_initialize_infrun): Install set/show disable-randomization
+       commands.
+       * linux-nat.c (disable_randomization): Remove.
+       (show_disable_randomization): Likewise.
+       (set_disable_randomization): Likewise.
+       (_initialize_linux_nat): No longer install set/show
+       disable-randomization commands here.
+       (linux_nat_supports_disable_randomization): New function.
+       (linux_nat_add_target): Install it.
+       * remote.c (PACKET_QDisableRandomization): New enum value.
+       (remote_protocol_packets): Support QDisableRandomization.
+       (_initialize_remote): Likewise.
+       (remote_supports_disable_randomization): New function.
+       (init_remote_ops): Install it.
+       (extended_remote_supports_disable_randomization): New function.
+       (init_extended_remote_ops): Install it.
+       (extended_remote_disable_randomization): New function.
+       (extended_remote_create_inferior_1): Call it.
+       * target.h (struct target_ops): Add to_supports_disable_randomization.
+       (target_supports_disable_randomization): Add prototype.
+       * target.c (target_supports_disable_randomization): New function.
+       (find_default_supports_disable_randomization): Likewise.
+       (init_dummy_target): Install it.
+
+2011-10-07  Kevin Pouget  <kevin.pouget@st.com>
+
+       Allow Python notification of new object-file loadings.
+       * Makefile.in (SUBDIR_PYTHON_SRCS): Add py-newobjfilevent.c.
+       (SUBDIR_PYTHON_OBS): Add py-newobjfileevent.o.
+       Add build rule for this file.
+       * python/py-event.h (emit_new_objfile_event): New prototype.
+       (newobjfile): New Python event emitter.
+       * python/py-evts.c (gdbpy_initialize_py_events): Add new_objfile to
+       Python event registry.
+       * python/py-inferior.c: Include objfiles.h
+       (python_new_objfile): New function.
+       (gdbpy_initialize_inferior): Add python_new_objfile to the new objfile
+       observers.
+       * python/py-newobjfileevent.c: New file.
+       * python-internal.h (gdbpy_initialize_new_objfile_event): New
+       prototype.
+       * python/python.c (_initialize_python): Add 
+       gdbpy_initialize_new_objfile_event call.
+       * NEWS: Add item for new Python event "gdb.newobjfile"
+
 2011-10-05  Tristan Gingold  <gingold@adacore.com>
 
        * ada-tasks.c (read_atcb): Make ravenscar_task_name static.
This page took 0.027969 seconds and 4 git commands to generate.