+2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * c-typeprint.c (c_type_print_base): For no fields check include also
+ TYPE_TYPEDEF_FIELD_COUNT. Print new typedefs section.
+ * dwarf2read.c (struct typedef_field_list)
+ (struct field_info) <typedef_field_list, typedef_field_list_count>: New.
+ (dwarf2_add_typedef): New.
+ (read_structure_type): Call dwarf2_add_typedef for DW_TAG_typedef.
+ Copy also FI.TYPEDEF_FIELD_LIST.
+ * gdbtypes.h (struct typedef_field)
+ (struct cplus_struct_type) <typedef_field, typedef_field_count>
+ (TYPE_TYPEDEF_FIELD_ARRAY, TYPE_TYPEDEF_FIELD, TYPE_TYPEDEF_FIELD_NAME)
+ (TYPE_TYPEDEF_FIELD_TYPE, TYPE_TYPEDEF_FIELD_COUNT): New.
+
+2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * cp-namespace.c (cp_lookup_nested_type): New variable
+ concatenated_name. Turn the current return condition into a reverse
+ one. Call also lookup_static_symbol_aux on the constructed qualified
+ name.
+ * symtab.c (lookup_symbol_aux): Move variable objfile and searching in
+ other files into a called ...
+ (lookup_static_symbol_aux): ... new function here.
+ * symtab.h (lookup_static_symbol_aux): New prototype.
+ * valops.c (value_maybe_namespace_elt): Call also
+ lookup_static_symbol_aux if we failed otherwise.
+
+2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix PR c++/11703 and PR gdb/1448.
+ * c-exp.y (yylex) <last_was_coloncolon && first_was_coloncolon>: Add
+ FIRST_ITER check.
+
+2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ Fix modification of cplus_struct_default.
+ * dwarf2read.c (dwarf2_add_member_fn) <no DW_AT_vtable_elem_location>:
+ Call ALLOCATE_CPLUS_STRUCT_TYPE.
+ * gdbtypes.c (cplus_struct_default): New empty initializer, comment it.
+
+2010-06-28 Joel Brobecker <brobecker@adacore.com>
+
+ * NEWS: Add entry announcing the python directory.
+
+2010-06-28 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (read_structure_type): Allocate null cleanup later.
+
+2010-06-28 Doug Evans <dje@google.com>
+
+ * breakpoint.c (breakpoint_sals_to_pc): Delete arg address, unused.
+ All callers updated.
+
+2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * cp-valprint.c (cp_print_value_fields) <recurse == 0>: Call
+ obstack_begin after each obstack_free.
+
+2010-06-27 Doug Evans <dje@google.com>
+
+ * value.c (value_static_field): Use `switch' instead of `if'.
+ Assert-fail if passed invalid TYPE_FIELD_LOC_KIND.
+
+ * valops.c (search_struct_field): Fix typo in error message.
+
+2010-06-26 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * dwarf2expr.c (execute_stack_op): Place preprocessor
+ directives at the start of the source line.
+
+2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
+
+ * defs.h (make_command_stats_cleanup): Declare.
+ (set_display_time): Declare.
+ (set_display_space): Declare.
+ * event-top.c (command_handler): Use make_command_stats_cleanup.
+ * main.c (display_time, display_space): Move definitions to utils.c.
+ (captured_main): Use make_command_stats_cleanup to get start-up
+ statistics.
+ Use set_display_time and set_display_space for processing OPT_STATISTICS
+ case.
+ * maint.c (maintenance_time_display): Use set_display_time.
+ (maintenance_space_display): Use set_display_space.
+ * top.c (execute_command): Remove obsolete 'maint time' code.
+ (command_loop): Use make_command_stats_cleanup.
+ * utils.c (struct cmd_stats): Structure for storing initial time
+ and space usage.
+ (display_time, display_space): Move definitions here from utils.c.
+ (set_display_time): New function.
+ (set_display_space): New function.
+ (make_command_stats_cleanup): New function.
+ (report_command_stats): New auxiliary function for
+ make_command_stats_cleanup.
+
+2010-06-25 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * solib-spu.c (append_ocl_sos): Fix xsnprintf statement for
+ hosts where CORE_ADDR is long long.
+
+2010-06-25 Tom Tromey <tromey@redhat.com>
+
+ PR python/10808:
+ * python/python.c (execute_gdb_command): Add keywords. Accept
+ "to_string" argument.
+ (struct restore_ui_file_closure): New.
+ (restore_ui_file): New function.
+ (make_cleanup_restore_ui_file): Likewise.
+ (GdbMethods) <execute>: Update.
+
+2010-06-25 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * s390-tdep.c (s390_push_dummy_call): Error on stack overflow
+ during inferior call stack frame setup.
+
+2010-06-25 Ken Werner <ken.werner@de.ibm.com>
+
+ * solib-spu.c: Include "exception.h".
+ (ocl_program_data_key): New variable.
+ (append_ocl_sos): New function.
+ (ocl_enable_break): Likewise.
+ (spu_current_sos): Call append_ocl_sos.
+ (spu_solib_loaded): Call ocl_enable_break.
+ (_initialize_spu_solib): Register ocl_program_data_key.
+
+2010-06-25 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * cp-support.c (reset_directive_searched): New function.
+ (make_symbol_overload_list_using): Prevent recursive calls.
+
+2010-06-25 Phil Muldoon <pmuldoon@redhat.com>
+
+ * printcmd.c (print_variable_and_value): Print error message on
+ caught exception.
+
+2010-06-25 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * dwarf2expr.h (struct dwarf_value_location): Use ULONGEST as type
+ of stack values.
+ (struct dwarf_expr_piece): Rename "expr" member to "mem". Add new
+ "value" member.
+ (dwarf_expr_push): Change input type to ULONGEST.
+ (dwarf_expr_fetch): Change return type to ULONGEST.
+ (dwarf_expr_fetch_address): Add prototype.
+ (dwarf2_read_address): Remove prototype.
+ * dwarf2expr.c (dwarf_expr_push): Use ULONGEST as type of stack values.
+ Truncate stack values to ctx->addr_size bytes.
+ (dwarf_expr_fetch): Change return value to ULONGEST.
+ (dwarf_expr_fetch_address): New function.
+ (add_piece): Use dwarf_expr_fetch_address instead of dwarf_expr_fetch
+ when appropriate. Update for struct dwarf_expr_piece changes.
+ (dwarf2_read_address): Remove.
+ (unsigned_address_type): Remove.
+ (signed_address_type): Remove.
+ (execute_stack_op): Use dwarf_expr_fetch_address instead of
+ dwarf_expr_fetch when appropriate. Use ULONGEST as type of stack
+ values. Perform operations on ULONGEST instead of on GDB values,
+ sign-extending from ctx->addr_size bytes as needed. Read DW_OP_addr
+ values and DW_OP_deref results as unsigned integers.
+ * dwarf2loc.c (read_pieced_value): Update for struct dwarf_expr_piece
+ changes.
+ (write_pieced_value): Likewise.
+ (dwarf2_evaluate_loc_desc): Use dwarf_expr_fetch_address instead of
+ dwarf_expr_fetch when appropriate.
+ (compile_dwarf_to_ax): Read DW_OP_addr values as unsigned integers.
+ * dwarf2-frame.c (execute_stack_op): Use dwarf_expr_fetch_address
+ instead of dwarf_expr_fetch when appropriate.
+
+2010-06-25 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * c-typeprint.c (c_print_typedef): Append new type name for typedefs.
+
+2010-06-24 Joel Brobecker <brobecker@adacore.com>
+
+ * python/python.c (_initialize_python): Add new "constant"
+ PYTHONDIR in gdb module. Insert this path at the head of
+ sys.path. Set gdb.__path__ to gdb.PYTHONDIR + '/gdb' and
+ exec its __init__.py script if it exists in that directory.
+
+2010-06-24 Kevin Buettner <kevinb@redhat.com>
+
+ * rx-tdep.c (RX_ACC_REGNUM): Define.
+ (RX_NUM_REGS): Redefine to 26.
+ (rx_register_name): Add register "acc". Change order of several
+ registers. Change name of "vct" register to "fintv" to match RX
+ documentation.
+ (rx_register_type): Add case for RX_ACC_REGNUM.
+
+2010-06-24 Tom Tromey <tromey@redhat.com>
+
+ * psymtab.c (lookup_partial_symbol): Mark definition as static.
+
+2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Tom Tromey <tromey@redhat.com>
+
+ Fix GDB startup on readonly filesystem.
+ * charset.c (find_charset_names): Use PEX_USE_PIPES for pex_init.
+
+2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
+ Pedro Alves <pedro@codesourcery.com>
+
+ Fix PR 9436.
+ * breakpoint.c (handle_jit_event): New function.
+ (bpstat_what): Remove enum class, kc, ss, sn, sgl, slr, clr, sr, shl,
+ jit, err, table and bs_class. New variables shlib_event, jit_event,
+ this_action and bptype. Change bs_class assignments to this_action
+ assignments. new unhandled bptype internal error. Move here
+ shlib_event and jit_event handling from handle_inferior_event.
+ * breakpoint.h (enum bpstat_what_main_action): Extend the comment.
+ Reorder items. Remove BPSTAT_WHAT_CHECK_SHLIBS and
+ BPSTAT_WHAT_CHECK_JIT.
+ * inferior.h (debug_infrun, stop_on_solib_events): New declarations.
+ * infrun.c (debug_infrun, stop_on_solib_events): Remove static.
+ (handle_inferior_event): Reinitialize frame and gdbarch after
+ bpstat_what call. Move BPSTAT_WHAT_CHECK_SHLIBS and
+ BPSTAT_WHAT_CHECK_JIT handling to bpstat_what. Reinitialize even
+ gdbarch when frame gets reinitialized.
+
+2010-06-24 Hui Zhu <teawater@gmail.com>
+
+ * printcmd.c (ui_printf): New function.
+ (printf_command): Call ui_printf.
+ (_initialize_printcmd): New command "eval".
+
+2010-06-23 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * infrun.c (handle_inferior_event): Handle presence of single-step
+ breakpoints for TARGET_WAITKIND_FORKED and TARGET_WAITKIND_VFORKED.
+ Cancel single-step breakpoints for TARGET_WAITKIND_EXITED,
+ TARGET_WAITKIND_SIGNALED, and TARGET_WAITKIND_EXECD.
+ * breakpoint.c (detach_single_step_breakpoints): New function.
+ (detach_breakpoints): Call it.
+ (cancel_single_step_breakpoints): New function.
+ * breakpoint.h (cancel_single_step_breakpoints): Add prototype.
+
+ * spu-tdep.c (spu_memory_remove_breakpoint): New function.
+ (spu_gdbarch_init): Install it.
+
+2010-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * configure.ac: Always set RDYNAMIC at least as `-rdynamic'.
+ * configure: Regenerate.
+
2010-06-22 Hui Zhu <teawater@gmail.com>
* i386-tdep.c (i386_record_lea_modrm): Change warning to query.
PR gdb/9067
* cp-valprint.c (cp_print_value_fields) Fix use of obstacks.
- cp_print_static_field) Fix use of obstacks.
+ (cp_print_static_field) Fix use of obstacks.
2010-02-08 Pedro Alves <pedro@codesourcery.com>