+2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix crashes on dangling display expressions.
+ * ada-lang.c (ada_operator_check): New function.
+ (ada_exp_descriptor): Fill-in the field operator_check.
+ * c-lang.c (exp_descriptor_c): Fill-in the field operator_check.
+ * jv-lang.c (exp_descriptor_java): Likewise.
+ * m2-lang.c (exp_descriptor_modula2): Likewise.
+ * scm-lang.c (exp_descriptor_scm): Likewise.
+ * parse.c (exp_descriptor_standard): Likewise.
+ (operator_check_standard): New function.
+ (exp_iterate, exp_uses_objfile_iter, exp_uses_objfile): New functions.
+ * parser-defs.h (struct exp_descriptor): New field operator_check.
+ (operator_check_standard, exp_uses_objfile): New declarations.
+ * printcmd.c: Remove the inclusion of solib.h.
+ (display_uses_solib_p): Remove the function.
+ (clear_dangling_display_expressions): Call lookup_objfile_from_block
+ and exp_uses_objfile instead of display_uses_solib_p.
+ * solist.h (struct so_list) <objfile>: New comment.
+ * symtab.c (lookup_objfile_from_block): Remove the static qualifier.
+ * symtab.h (lookup_objfile_from_block): New declaration.
+ (struct general_symbol_info) <obj_section>: Extend the comment.
+
+2010-04-22 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
+ Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * ppc-linux-nat.c (PTRACE_GET_DEBUGREG): Update comment.
+ (PPC_PTRACE_GETWDBGINFO, PPC_PTRACE_SETHWDEBUG, PPC_PTRACE_DELHWDEBUG,
+ ppc_debug_info, PPC_DEBUG_FEATURE_INSN_BP_RANGE,
+ PPC_DEBUG_FEATURE_INSN_BP_MASK, PPC_DEBUG_FEATURE_DATA_BP_RANGE,
+ PPC_DEBUG_FEATURE_DATA_BP_MASK, ppc_hw_breakpoint,
+ PPC_BREAKPOINT_TRIGGER_EXECUTE, PPC_BREAKPOINT_TRIGGER READ,
+ PPC_BREAKPOINT_TRIGGER_WRITE, PPC_BREAKPOINT_TRIGGER_RW,
+ PPC_BREAKPOINT_MODE_EXACT PPC_BREAKPOINT_MODE_RANGE_INCLUSIVE,
+ PPC_BREAKPOINT_MODE_RANGE_EXCLUSIVE, PPC_BREAKPOINT_MODE_MASK,
+ PPC_BREAKPOINT_CONDITION_NONE, PPC_BREAKPOINT_CONDITION_AND,
+ PPC_BREAKPOINT_CONDITION_EXACT, PPC_BREAKPOINT_CONDITION_OR,
+ PPC_BREAKPOINT_CONDITION_AND_OR, PPC_BREAKPOINT_CONDITION_BE_ALL,
+ PPC_BREAKPOINT_CONDITION_BE_SHIFT, PPC_BREAKPOINT_CONDITION_BE):
+ Define, in case <ptrace.h> doesn't provide it.
+ (booke_debug_info): New variable.
+ (max_slots_number): Ditto.
+ (hw_break_tuple): New struct.
+ (thread_points): Ditto.
+ (ppc_threads): New variable.
+ (PPC_DEBUG_CURRENT_VERSION): New define.
+ (have_ptrace_new_debug_booke): New function.
+ (ppc_linux_check_watch_resources): Renamed to ...
+ (ppc_linux_can_use_hw_breakpoint): ... this. Handle BookE processors.
+ (ppc_linux_region_ok_for_hw_watchpoint): Handle BookE processors.
+ (booke_cmp_hw_point): New function.
+ (booke_find_thread_points_by_tid): Ditto.
+ (booke_insert_point): Ditto.
+ (booke_remove_point): Ditto.
+ (ppc_linux_insert_hw_breakpoint): Ditto.
+ (ppc_linux_remove_hw_breakpoint): Ditto.
+ (get_trigger_type): Ditto.
+ (ppc_linux_insert_watchpoint): Handle BookE processors.
+ (ppc_linux_remove_watchpoint): Ditto.
+ (ppc_linux_new_thread): Ditto.
+ (ppc_linux_thread_exit): New function..
+ (ppc_linux_stopped_data_address): Handle BookE processors.
+ (ppc_linux_watchpoint_addr_within_range): Ditto.
+ (_initialize_ppc_linux_nat): Initialize to_insert_hw_breakpoint and
+ to_remove_hw_breakpoint fields of the target operations struct.
+ Add observe for the thread_exit event.
+
+2010-04-22 H.J. Lu <hongjiu.lu@intel.com>
+
+ * i386-linux-nat.c (regmap): Removed.
+ (fetch_register): Replace regmap with
+ i386_linux_gregset_reg_offset.
+ (store_register): Likewise.
+ (supply_gregset): Likewise.
+ (fill_gregset): Likewise.
+
+ * i386-linux-tdep.c (i386_linux_gregset_reg_offset): Make it
+ global.
+
+ * i386-linux-tdep.h (i386_linux_gregset_reg_offset): New.
+
+2010-04-22 Chris Moller <cmoller@redhat.com>
+
+ * cp-valprint.c (cp_print_value_fields): Replaced obstack_base()
+ method of popping recursion-detection stack with a method based on
+ obstack_object_size(). (Similar to the PR9167 patch below, but for
+ the static array obstack rather than the static member obstack.)
+
+2010-04-22 H.J. Lu <hongjiu.lu@intel.com>
+
+ * amd64-linux-nat.c (amd64_linux_gregset64_reg_offset): Removed.
+ (_initialize_amd64_linux_nat): Replace
+ amd64_linux_gregset64_reg_offset with
+ amd64_linux_gregset_reg_offset.
+
+ * amd64-linux-tdep.c (amd64_linux_gregset_reg_offset): Make it
+ global.
+
+ * amd64-tdep.h (amd64_linux_gregset_reg_offset): New.
+
+2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ PR stabs/11479.
+ * stabsread.c (set_length_in_type_chain): New function.
+ (read_struct_type): Call set_length_in_type_chain function.
+ (read_enum_type): Idem.
+
+2010-04-21 Stan Shebs <stan@codesourcery.com>
+ Nathan Sidwell <nathan@codesourcery.com>
+
+ * tracepoint.c (trace_save): Open in binary mode.
+
+2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * gdbtypes.h (builtin_type): Add builtin_char16 and builtin_char32
+ fields.
+ * gdbtypes.c (gdbtypes_post_init): Set builtin_char16 and
+ builtin_char32 fields.
+ * printcmd.c (decode_format): Set char size to '\0'
+ for strings unless explicit size is given.
+ (print_formatted): Correct calculation of NEXT_ADDRESS
+ for 16 or 32 bit strings.
+ (do_examine): Do not force byte size for strings.
+ Use builtin_char16 and builtin_char32 types to display
+ 16 or 32 bit-wide strings.
+ (x_command): Set LAST_SIZE to 'b' for string type.
+
+2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR corefiles/11523
+ * amd64-linux-tdep.c (amd64_linux_core_read_description): Check
+ XCR0 first.
+
+ * i386-linux-tdep.c (i386_linux_core_read_xcr0): Return 0 if
+ there is no .reg-xstate section.
+ (i386_linux_core_read_description): Check XCR0 first.
+
+2010-04-21 Mike Frysinger <vapier@gentoo.org>
+
+ * gdb/sparc-tdep.c (sparc32_store_return_value): Add gdb_assert ()
+ for len <= 8.
+
2010-04-21 Chris Moller <cmoller@redhat.com>
PR 9167
* cp-valprint.c (cp_print_value_fields): Replaced obstack_base()
- method of popping recursion-detection stack with a method based on
- obstack_object_size().
+ method of popping recursion-detection stack with a method based on
+ obstack_object_size().
2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>