+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().
+
+2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ PR pascal/11492.
+ * p-valprint.c (pascal_val_print): Fix default printing of integer
+ arrays.
+
+2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ Fix compilation warning on gcc-4.1.2.
+ * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Initialize
+ local variable`pc' to zero.
+
+2010-04-20 Joel Brobecker <brobecker@adacore.com>
+
+ Implement thread support with core files on alpha-tru64.
+ * dec-thread.c (dec_thread_find_new_threads): New function,
+ extracted from resync_thread_list.
+ (resync_thread_list): Add OPS parameter. Replace extracted-out
+ code by call to dec_thread_find_new_threads.
+ (dec_thread_wait): Update call to resync_thread_list.
+ (init_dec_thread_ops): Set dec_thread_ops.to_find_new_threads.
+
+2010-04-20 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (value_pointer): New function.
+ (make_array_descriptor): Call value_pointer to convert addresses to
+ pointers.
+
+2010-04-20 Joel Brobecker <brobecker@adacore.com>
+
+ * rs6000-aix-tdep.c: #include exceptions.h.
+ (rs6000_convert_from_func_ptr_addr): If an exception is thrown
+ while reading the memory at ADDR, then ADDR cannot be a function
+ descriptor.
+
+2010-04-20 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-typeprint.c (ada_print_typedef): New function.
+ * ada-lang.h (ada_print_typedef): Add declaration.
+ * ada-lang.c (ada_language_defn): set la_print_typdef field
+ to ada_print_typedef.
+
+2010-04-20 Joel Brobecker <brobecker@adacore.com>
+
+ * procfs.c (procfs_address_to_host_pointer): Only define when used.
+
+2010-04-20 Joel Brobecker <brobecker@adacore.com>
+
+ * procfs.c (iterate_over_mappings_cb_ftype): New typedef.
+ (iterate_over_mappings): Adjust function profile. Add declaration.
+ (insert_dbx_link_bpt_in_region, info_mappings_callback):
+ Adjust accordingly.
+
+2010-04-20 Joel Brobecker <brobecker@adacore.com>
+
+ * procfs.c (solib_mappings_callback): Move function up to avoid
+ a compiler warning.
+
+2010-04-20 Joel Brobecker <brobecker@adacore.com>
+
+ * procfs.c (find_signalled_thread, find_stop_signal): Move
+ these functions down to define them only when used.
+
+2010-04-20 Joel Brobecker <brobecker@adacore.com>
+
+ * valprint.c (common_val_print): Fix the value before extracting
+ its contents.
+ * ada-lang.c (ada_to_fixed_value): Make this function extern.
+ * ada-lang.h (ada_to_fixed_value): New function declaration.
+ * ada-valprint.c (ada_value_print): Use ada_to_fixed_value
+ to avoid code duplication and fix a bug in the handling of
+ fixed types contents.
+
+2010-04-20 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2read.c (dwarf2_compute_name): Handle DW_AT_linkage_name.
+ (read_partial_die): Likewise.
+ (dwarf_attr_name): Likewise.
+
+2010-04-20 Chris Moller <cmoller@redhat.com>
+
+ PR 10867
+
+ * cp-valprint.c (global): Adding new static array recursion
+ detection obstack.
+ (cp_print_value_fields, cp_print_static_field): Added new static
+ array recursion detection code.
+
+2010-04-20 Mark Kettenis <kettenis@gnu.org>
+
+ * i386-linux-tdep.c (i386_linux_regset_sections): Size of the
+ general-purpose register set should be 68 instead of 144.
+ (i386_linux_sse_regset_sections): Likewise.
+ (i386_linux_avx_regset_sections): Likewise.
+
+2010-04-20 Stan Shebs <stan@codesourcery.com>
+ Nathan Sidwell <nathan@codesourcery.com>
+
+ * dwarf2loc.c (struct axs_var_loc): New struct.
+ (dwarf2_tracepoint_var_loc): New function.
+ (dwarf2_tracepoint_var_access): New function.
+ (dwarf2_tracepoint_var_ref): Use dwarf2_tracepoint_var_loc, deal
+ with DW_OP_piece.
+ (locexpr_describe_location_piece): New function.
+ (locexpr_describe_location_1): New function.
+ (locexpr_describe_location): Call it, update signature.
+ (loclist_describe_location): Rewrite to loop over locations,
+ update signature.
+ * symtab.h (struct symbol_computed_ops): Add address to
+ describe_location arguments, return void.
+ * printcmd.c (address_info): Get context PC, pass to computed
+ location description.
+ * tracepoint.c (scope_info): Ditto.
+ * ax-gdb.c (trace_kludge): Export.
+
+2010-04-20 Tom Tromey <tromey@redhat.com>
+
+ * dwarf2-frame.c (decode_frame_entry_1): Handle CIE version 4.
+ (struct dwarf2_cie) <segment_size>: New field.
+ * dwarf2read.c (partial_read_comp_unit_head): Accept DWARF 4.
+ (skip_one_die): Handle DW_FORM_flag_present, DW_FORM_sec_offset,
+ DW_FORM_exprloc.
+ (read_attribute_value): Handle DW_FORM_flag_present,
+ DW_FORM_sec_offset, DW_FORM_exprloc.
+ (dump_die_shallow): Likewise.
+ (attr_form_is_section_offset): Handle DW_FORM_sec_offset.
+ (dwarf2_const_value): Handle DW_FORM_exprloc.
+ (attr_form_is_block): Likewise.
+ (struct line_header) <maximum_ops_per_instruction>: New field.
+ (dwarf_decode_line_header): Set new field.
+ (dwarf_decode_lines): Handle new field.
+
+2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * f-exp.y: Add new production to recognize the `logical*8' type.
+ (LOGICAL_S8_KEYWORD): New token.
+ * f-lang.c (enum f_primitive_types)
+ <f_primitive_type_logical_s8>: New field.
+ (f_language_arch_info): Handling `logical*8' type.
+ (build_fortran_types): Building `logical*8' type.
+ * f-lang.h (struct builtin_f_type) <builtin_logical_s8>: New field.
+
+2010-04-19 Doug Evans <dje@google.com>
+
+ * ser-base.c (generic_readchar): Watch for EOF in read of error_fd.
+ * ser-pipe.c (pipe_open): Fix file descriptor leaks.
+ (pipe_close): Ditto.
+
+2010-04-19 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * configure.tgt (x86_64-*-mingw*): Set BUILD_GDBSERVER to yes.
+
+2010-04-19 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ * windows-tdep.c (windows_get_tlb_type): Change current_seh.handle
+ type to void function.
+
+2010-04-19 Stan Shebs <stan@codesourcery.com>
+ Vladimir Prus <vladimir@codesourcery.com>
+
+ * tracepoint.c (tfind_1): Add missing newline, report exit from
+ tfind mode as such.
+ * target.c (update_current_target): Make default
+ to_trace_find return -1.
+
+2010-04-19 Mike Frysinger <vapier@gentoo.org>
+
+ * objc-lang.c (find_methods): Move symname check up.
+
+2010-04-19 Pedro Alves <pedro@codesourcery.com>
+
+ * ada-lang.c (print_recreate_exception)
+ <ex_catch_exception_unhandled>: It's "catch exception unhandled",
+ not "catch unhandled".
+
+2010-04-19 Pedro Alves <pedro@codesourcery.com>
+
+ PR breakpoints/8554.
+
+ Implement `save-breakpoints'.
+
+ * breakpoint.c (save_cmdlist): New.
+ (breakpoint_set_cmdlist, breakpoint_show_cmdlist): Moved up close
+ to save_cmdlist.
+ (print_recreate_catch_fork): New.
+ (catch_fork_breakpoint_ops): Install it.
+ (print_recreate_catch_vfork): New.
+ (catch_vfork_breakpoint_ops): Install it.
+ (print_recreate_catch_syscall): New.
+ (catch_syscall_breakpoint_ops): Install it.
+ (print_recreate_catch_exec): New.
+ (catch_exec_breakpoint_ops): Install it.
+ (print_recreate_exception_catchpoint): New.
+ (gnu_v3_exception_catchpoint_ops): Install it.
+ (save_breakpoints): New, based on tracepoint_save_command, but
+ handle all breakpoint types.
+ (save_breakpoints_command): New.
+ (tracepoint_save_command): Rename to...
+ (save_tracepoints_command): ... this, and reimplement using
+ save_breakpoints.
+ (save_command): New.
+ (_initialize_breakpoints): Install the "save" command prefix.
+ Install the "save breakpoints" command. Make "save-tracepoints" a
+ deprecated alias for "save tracepoints".
+ * breakpoint.h (struct breakpoint_ops): New field `print_recreate'.
+ * ada-lang.c (print_recreate_exception): New.
+ (print_recreate_catch_exception): New.
+ (catch_exception_breakpoint_ops): Install it.
+ (print_recreate_catch_exception_unhandled): New.
+ (catch_exception_unhandled_breakpoint_ops): Install it.
+ (print_recreate_catch_assert): New.
+ (catch_assert_breakpoint_ops): Install it.
+
+ * NEWS: Mention the new `save breakpoints' command. Mention the
+ new `save tracepoints' alias and that `save-tracepoints' is now
+ deprecated.
+
+2010-04-18 Pedro Alves <pedro@codesourcery.com>
+
+ PR tui/9217
+
+ * tui/tui-out.c: Include cli-out.h.
+ (tui_table_begin, tui_table_body, tui_table_end, tui_table_header)
+ (tui_begin, tui_end, tui_field_int, tui_field_skip)
+ (tui_field_string, tui_field_fmt, tui_spaces, tui_text)
+ (tui_message, tui_wrap_hint, tui_flush): Delete forward
+ declarations.
+ (struct ui_out_data): Rename to...
+ (struct tui_ui_out_data): ... this. Remove `stream' and
+ `suppress_output' fields, and inherit cli_ui_out_data.
+ (tui_out_data): New typedef.
+ (tui_ui_out_impl): Don't initialize fields staticaly.
+ (tui_table_begin, tui_table_body, tui_table_end, tui_table_header)
+ (tui_begin, tui_end): Delete.
+ (tui_field_int): Adjust to delegate most work to the base type.
+ (tui_field_skip): Delete.
+ (tui_field_string, tui_field_fmt): Adjust comment. Adjust to
+ delegate most work to the base type.
+ (tui_spaces): Delete.
+ (tui_text): Adjust to delegate most work to the base type.
+ (tui_message): Delete.
+ (tui_wrap_hint): Delete.
+ (tui_flush): Delete.
+ (out_field_fmt): Delete.
+ (field_separator): Delete.
+ (tui_out_new): Adjust to initialize the base type.
+ (_initialize_tui_out): Initialize tui_ui_out_impl.
+ * cli-out.c (struct ui_out_data): Moved out to cli-out.h, renamed
+ cli_ui_out_data.
+ (cli_out_data): Adjust.
+ (cli_ui_out_impl): Make extern.
+ (cli_table_header, cli_field_int, cli_field_skip): Use
+ uo_field_string instead of cli_field_string.
+ (cli_redirect): Adjust to use cli_out_data.
+ (cli_out_data_ctor): New.
+ (cli_out_new): Use it.
+ * cli-out.h (struct ui_file): Remove forward declaration.
+ (struct cli_ui_out_data): New, moved from cli-out.c, and renamed.
+ (cli_ui_out_impl): Declare.
+ (cli_out_data_ctor): Declare.
+ * ui-out.c (struct ui_out) <data>: Change type to void pointer.
+ (uo_field_string): No longer static.
+ (ui_out_data): Change return type to void pointer.
+ (ui_out_new): Change `data' parameter type to void pointer.
+ * ui-out.h (struct ui_out_data): Don't forward declare.
+ (ui_out_data): Change return type to void pointer.
+ (ui_out_new): Change `data' parameter type to void pointer.
+ (uo_field_string): Declare.
+
+2010-04-17 Pedro Alves <pedro@codesourcery.com>
+
+ * ui-file.c (tee_file_isatty): Return whether `tee->one' is a tty,
+ instead of always false.
+
+2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR corefiles/11511
+ * amd64-linux-tdep.c (amd64_linux_gregset_reg_offset): Support
+ orig_rax.
+
2010-04-17 Pedro Alves <pedro@codesourcery.com>
* breakpoint.c (watchpoints_triggered): Use
addr_bit. Adjust LOAD_ADDR sign for cross-arch inferiors.
2010-02-17 Tristan Gingold <gingold@adacore.com>
- Petr Hluzín <petr.hluzin@gmail.com>
+ Petr Hluzín <petr.hluzin@gmail.com>
* avr-tdep.c (avr_scan_prologue): Convert an if statement to a
gdb_assert. Fix info->size for SIG prologue.