Use memmove to copy overlap memory.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 9b8fd58264115c3052f5d0e1864c15b31c9c1afd..8dc87d0432477d4bac822120389083e0062be992 100644 (file)
+2010-03-30  Pedro Alves  <pedro@codesourcery.com>
+
+       * tui/tui-interp.c (tui_is_toplevel): New.
+       (tui_init): Set it.
+       (tui_allowed_p): New.
+       * tui/tui.c (tui_enable): Check if the TUI is allowed before
+       enabling it.
+       * tui/tui.h (tui_allowed_p): Declare.
+
+2010-03-30  Ozkan Sezer  <sezeroz@gmail.com>
+
+       * serial.h: Include winsock2.h before windows.h.
+
+2010-03-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * NEWS: Mention xmlRegisters= in qSupported packet.
+
+       * i386-tdep.c: Include "remote.h".
+       (_initialize_i386_tdep): Call register_remote_support_xml.
+
+       * remote.c (remote_support_xml): New.
+       (register_remote_support_xml): Likewise.
+       (remote_query_supported_append): Likewise.
+       (remote_query_supported): Support remote_support_xml.
+
+       * remote.h (register_remote_support_xml): New.
+
+2010-03-29  Stan Shebs  <stan@codesourcery.com>
+
+       * tracepoint.c (trace_find_line_command): Remove dead code.
+
+       * tracepoint.h (struct uploaded_string): New struct.
+       (struct uploaded_tp): New fields for source strings.
+       * breakpoint.c (this_utp, next_cmd): New globals.
+       (read_uploaded_action): New function.
+       (create_tracepoint_from_upload): Fill in more parts
+       of a tracepoint.
+       * tracepoint.c (encode_source_string): New function.
+       (trace_save): Write out source strings, fix error checks.
+       (parse_tracepoint_definition): Add source string parsing.
+       * remote.c (PACKET_TracepointSource): New packet type.
+       (remote_download_command_source): New function.
+       (remote_download_tracepoint): Download source pieces also.
+       (_initialize_remote): Add packet config command.
+
+       * tracepoint.c (collect_symbol): Send LOC_UNRESOLVED symbols to
+       expression handler.
+
+       * tracepoint.c (start_tracing): Check tracepoints before sending
+       commands to target, don't start if all tracepoints disabled.
+
+2010-03-28  Pedro Alves  <pedro@codesourcery.com>
+
+       * cli/cli-script.c (process_next_line): Handle 'stepping'.
+
+2010-03-26  Stan Shebs  <stan@codesourcery.com>
+
+       * tracepoint.c (disconnect_or_stop_tracing): Get out of tfind mode.
+
+2010-03-26  Tom Tromey  <tromey@redhat.com>
+
+       * breakpoint.c (commands_command_1): Duplicate 'arg'.
+
+2010-03-26  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * breakpoint.c (expand_line_sal_maybe): Always call skip_prologue_sal.
+       (skip_prologue_sal): Remove local definition.
+       (resolve_sal_pc): Remove now unnecessary code.
+       * linespec.c (minsym_found): Call skip_prologue_sal.
+       * symtab.c (find_function_start_pc): Remove.
+       (find_function_start_sal): Extract prologue skipping into ...
+       (skip_prologue_sal): ... this new function.  Handle code both
+       with and without debug info.  Respect SAL's explicit_pc and
+       explicit_line flags.  Inline old find_function_start_pc.
+       * symtab.h (find_function_start_pc): Remove.
+       (skip_prologue_sal): Add prototype.
+
+2010-03-26  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * dwarf2read.c (read_func_scope): Also scan specification DIEs
+       for DW_TAG_imported_module children.
+
+2010-03-26  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * dwarf2read.c (dwarf2_name): Work around GCC bugzilla debug/41828 by
+       ignoring spurious DW_AT_name attributes for unnamed structs or unions.
+       * completer.c (add_struct_fields): Fix inverted logic.
+
+2010-03-26  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * breakpoint.c (bpstat_clear_actions): Reset bs->commands_left.
+
+2010-03-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * tracepoint.c (current_trace_status): Don't make sure error_desc
+       is non-NULL here.
+       (parse_trace_status): Release a previous error_desc string, and
+       set it to NULL by default.  If stop reason is tracepoint_error,
+       make sure error_desc is not left NULL.
+
+2010-03-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * tracepoint.c (trace_save): Remove X from tracepoint error
+       description.
+
+2010-03-26  Pedro Alves  <pedro@codesourcery.com>
+
+       * tracepoint.c (parse_trace_status): Don't allow plain strings in
+       the terror description.  Don't expect an X prefix.
+
+2010-03-25  Stan Shebs  <stan@codesourcery.com>
+
+       * tracepoint.h (trace_stop_reason): Add tracepoint_error.
+       (struct trace_status): New field error_desc.
+       * tracepoint.c (stop_reason_names): Add terror.
+       (current_trace_status): Ensure non-NULL error description.
+       (trace_status_command): Add error report.
+       (trace_status_mi): Ditto.
+       (trace_save): Add special case for error description.
+       (parse_trace_status): Add case for errors.
+
+2010-03-25  Keith Seitz  <keiths@redhat.com>
+
+       * dwarf2read.c (read_subroutine_type): If the compilation unit
+       language is Java, mark any formal parameter named "this" as
+       artificial (GCC/43521).
+       (dwarf2_name): Add special handling for Java constructors.
+
+2010-03-25  Tom Tromey  <tromey@redhat.com>
+
+       PR gdb/11327, PR gdb/11328, PR breakpoints/11368:
+       * infrun.c (handle_inferior_event): Change initialization of
+       stop_stack_dummy.
+       (handle_inferior_event): Change assignment to stop_stack_dummy.
+       (normal_stop): Update use of stop_stack_dummy.
+       (struct inferior_status) <stop_stack_dummy>: Change type.
+       * inferior.h (stop_stack_dummy): Update.
+       * infcmd.c (stop_stack_dummy): Change type.
+       * infcall.c (cleanup_delete_std_terminate_breakpoint): New
+       function.
+       (call_function_by_hand): Call set_std_terminate_breakpoint.
+       Rewrite std::terminate handling.
+       * breakpoint.h (enum bptype) <bp_std_terminate,
+       bp_std_terminate_master>: New.
+       (enum stop_stack_kind): New.
+       (struct bpstat_what) <call_dummy>: Change type.
+       (set_std_terminate_breakpoint, delete_std_terminate_breakpoint):
+       Declare.
+       * breakpoint.c (create_std_terminate_master_breakpoint): New
+       function.
+       (update_breakpoints_after_exec): Handle bp_std_terminate_master.
+       Call create_std_terminate_master_breakpoint.
+       (print_it_typical): Handle new breakpoint kinds.
+       (bpstat_stop_status): Handle bp_std_terminate_master.
+       (bpstat_what): Correctly set call_dummy field.  Handle
+       bp_std_terminate_master and bp_std_terminate.
+       (print_one_breakpoint_location): Update.
+       (allocate_bp_location): Update.
+       (set_std_terminate_breakpoint): New function.
+       (delete_std_terminate_breakpoint): Likewise.
+       (create_thread_event_breakpoint): Update.
+       (delete_command): Update.
+       (breakpoint_re_set_one): Update.
+       (breakpoint_re_set): Call create_std_terminate_master_breakpoint.
+
+2010-03-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * symfile.c (build_section_addr_info_from_bfd): New.
+       (build_section_addr_info_from_objfile): Base it on
+       build_section_addr_info_from_bfd.
+       (addrs_section_compar, addrs_section_sort): New.
+       (addr_info_make_relative): New variables my_cleanup, abfd_addrs,
+       addrs_sorted, abfd_addrs_sorted and addrs_to_abfd_addrs.  Build
+       addrs_to_abfd_addrs.  Use it for recalculating ADDRS.
+
+2010-03-24  Michael Snyder  <msnyder@localhost.localdomain>
+
+       * elfread.c (find_separate_debug_file_by_buildid): 
+       Remove unused local variable.
+
+2010-03-24  Tom Tromey  <tromey@redhat.com>
+
+       PR breakpoints/9352:
+       * NEWS: Mention changes to `commands' and `rbreak'.
+       * symtab.c (do_end_rbreak_breakpoints): New function.
+       (rbreak_command): Call start_rbreak_breakpoints; arrange to call
+       end_rbreak_breakpoints.
+       * breakpoint.c (breakpoint_count, tracepoint_count): Now static.
+       (set_breakpoint_count): Likewise.  Clear last_was_multi.
+       (multi_start, multi_end, last_was_multi): New globals.
+       (start_rbreak_breakpoints, end_rbreak_breakpoints): New
+       functions.
+       (struct commands_info): New
+       (do_map_commands_command): New function.
+       (commands_command_1): New function.
+       (commands_command): Use it.
+       (commands_from_control_command): Likewise.
+       (do_delete_breakpoint): New function.
+       (delete_command): Use it.
+       (map_breakpoint_numbers): Add 'data' argument.  Pass to callback.
+       (do_map_disable_breakpoint): New function.
+       (disable_command): Use it.
+       (do_map_enable_breakpoint): New function.
+       (enable_command): Use it.
+       (enable_once_breakpoint): Add argument.
+       (enable_once_command): Update.
+       (enable_delete_breakpoint): Add argument.
+       (enable_delete_command): Update.
+       (break_command_really): Set last_was_multi when needed.
+       (check_tracepoint_command): Fix formatting.
+       (validate_commands_for_breakpoint): New function.
+       (breakpoint_set_commands): Use it.
+       (tracepoint_save_command): Update.
+       * breakpoint.h (start_rbreak_breakpoints, end_rbreak_breakpoints):
+       Declare.
+
+2010-03-24  Tom Tromey  <tromey@redhat.com>
+
+       * breakpoint.h (struct counted_command_line): New struct.
+       (struct breakpoint) <commands>: Change type.
+       (struct bpstats) <commands>: Change type.
+       <commands_left>: New field.
+       * breakpoint.c (alloc_counted_command_line): New function.
+       (incref_counted_command_line): Likewise.
+       (decref_counted_command_line): Likewise.
+       (do_cleanup_counted_command_line): Likewise.
+       (make_cleanup_decref_counted_command_line): Likewise.
+       (breakpoint_set_commands): Use decref_counted_command_line and
+       alloc_counted_command_line.
+       (commands_command): Don't error if breakpoint commands are
+       executing.
+       (commands_from_control_command): Likewise.
+       (bpstat_free): Update.
+       (bpstat_copy): Likewise.
+       (bpstat_clear_actions): Likewise.
+       (bpstat_do_actions_1): Likewise.
+       (bpstat_stop_status): Likewise.
+       (print_one_breakpoint_location): Likewise.
+       (delete_breakpoint): Likewise.
+       (bpstat_alloc): Initialize new field.
+       (tracepoint_save_command): Update.
+       * tracepoint.c (encode_actions): Update.
+       (trace_dump_command): Update.
+
+2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * dwarf2-frame.c (dwarf2_frame_find_quirks): Use producer_is_realview.
+       * dwarf2read.c (load_full_comp_unit): Read DW_AT_producer.
+       (read_structure_type): For RealView, set TYPE_STUB on structures with
+       no byte size and no children.
+       (read_subroutine_type): Mark functions as prototyped by default.
+       * symtab.c (producer_is_realview): New function.
+       * symtab.h (expand_line_sal): Fix declaration formatting.
+       (producer_is_realview): Declare.
+
+2010-03-24  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * arm-tdep.c (skip_prologue_function): New function.
+       (submask, bit, bits, sbits, BranchDest): Move higher in the file.
+       (thumb_analyze_prologue): Document return value.  Recognize more
+       Thumb instructions, skippable calls, and some Thumb-2 instructions.
+       Add debug output.
+       (arm_skip_prologue): Remove call dummy check.  Check the prologue
+       for non-GNU compilers.
+       (arm_instruction_changes_pc): New function.
+       (arm_analyze_prologue): New function, broken out from
+       arm_scan_prologue.  Recognize more ARM instructions and skippable
+       calls.  Update comments.  Handle NULL cache.  Return the address
+       of the first unrecognized instruction.  Do not skip past other
+       instructions which change control flow.  Add debug output.
+       (arm_scan_prologue): Use arm_analyze_prologue.
+       (ARM_PC_32): Delete.
+       (shifted_reg_val): Simplify ARM_PC_32 check.
+
+2010-03-24  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * tracepoint.c (tvariables_info_1): Actually compute
+       the number of rows in the result.
+
+2010-03-24  Pedro Alves  <pedro@codesourcery.com>
+
+       * remote.c (crc32): Constify `buf' parameter.
+       (remote_verify_memory): New, abstracted out from...
+       (compare_sections_command): ... this.  Remove hardcoded target
+       checks.
+       (init_remote_ops): Install remote_verify_memory.
+       * target.c (target_verify_memory): New.
+       * target.h (struct target_ops) <to_verify_memory>: New field.
+       (target_verify_memory): Declare.
+
+2010-03-24  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Implement -trace-save.
+
+       * mi-cmds.h (mi_cmds_trace_save): Declare.
+       * mi-cmds.c (mi_cmds): Register -trace-save.
+       * mi/mi-main.c (mi_cmd_trace_save): New.
+       * remote.c (remote_save_trace_data): Take const parameter.
+       * target.h (struct target_ops::to_save_trace_data): Take
+       const parameter.
+       * target.c (update_current_target): Adjust to the above.
+       * tracepoint.c (trave_save): New, extracted from
+       (trace_save_command): ...this.
+       (tfile_trace_find): Remove message that is unnecessary now
+       that 'tfind' reports found frame.
+       * tracepoint.h (trace_save): Declare.
+
+2010-03-24  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Implement -trace-find.
+
+       * mi/mi-cmds.c (mi_cmds): Register -trace-find.
+       * mi/mi-cmds.h (mi_cmd_trace_find): Declare.
+       * mi/mi-main.c (mi_cmd_trace_find): New.
+       * target.h (struct target_ops): Document to_trace_find.
+       * tracepoint.h (tfind_1): Declare.
+       * tracepoint.c (finish_tfind_command): Rename to...
+       (tfind_1): ...this.
+       * remote.c (remote_trace_find): Return -1 if target say
+       there's no frame.  Improve error diagnostics.
+
+2010-03-24  Vladimir Prus  <vladimir@codesourcery.com>
+
+       -trace-define-variable and -trace-list-variables.
+
+       * tracepoint.c (create_trace_state_variable): Make
+       private copy of name, as opposed to assuming the
+       pointer lives forever.
+       (tvariables_info_1): New.
+       (tvariables_info): Use the above.
+       * tracepoint.h (create_trace_state_variable, tvariables_info_1):
+       Declare.
+       * mi/mi-cmds.c (mi_cmds): Register -trace-define-variable
+       and -trace-list-variables.
+       * mi/mi-cmds.h (mi_cmd_trace_define_variable)
+       (mi_cmd_trace_list_variables): New.
+       * mi/mi-main.c (mi_cmd_trace_define_variable)
+       (mi_cmd_trace_list_variables): New.
+
+2010-03-24  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Implement -break-passcount.
+
+       * mi/mi-cmd-break.c (mi_cmd_break_passcount): New.
+       * mi/mi-cmds.c (mi_cmds): Register -break-passcount.
+       * mi/mi-cmds.h (mi_cmd_break_passcount): Declare.
+
+2010-03-24  Vladimir Prus  <vladimir@codesourcery.com>
+
+       -trace-start/-trace-end/-trace-status.
+
+       * mi/mi-cmds.c (mi_cmds): Register -trace-start, -trace-status
+       and -trace-stop.
+       * mi/mi-cmds.h (mi_cmd_trace_start, mi_cmd_trace_status)
+       (mi_cmd_trace_stop): Declare.
+       * mi/mi-main.c (mi_cmd_trace_start, mi_cmd_trace_status)
+       (mi_cmd_trace_stop): New.
+       * tracepoint.c (start_tracing): New, extracted from...
+       (trace_start_command): ...this.
+       (trace_status_mi): New.
+       * tracepoint.h (struct trace_status): Document
+       stopping_tracepoint.
+       (start_tracing, stop_tracing, trace_status_mi): Declare.
+
+2010-03-24  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Implement creating tracepoints with -break-insert.
+
+       * mi/mi-cmd-break.c (mi_cmd_break_insert): Handle -a
+       to mean that tracepoint should be created.
+
+2010-03-24  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * breakpoint.c (check_no_tracepoint_commands): Use
+       current spelling of 'teval'.
+
+2010-03-24  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Unify actions and commands
+
+       * defs.h (read_command_lines, read_command_lines_1): New
+       parameters validator and closure.
+       * tracepoint.h (struct action_line): Remove.
+       * breakpoint.h (struct breakpoint): Remove the 'actions'
+       field.
+       * defs.h (enum command_control_type): New value
+       while_stepping_control.
+       (struct command_line): Add comments.
+       * breakpoint.c (breakoint_is_tracepoint): New.
+       (breakpoint_set_commands): For tracepoints,
+       verify the commands are permissible.
+       (check_tracepoint_commands): New.
+       (commands_command): Require that each new line is validated using
+       check_tracepoint_command, if we set commands for a tracepoint.
+       (create_tracepoint_from_upload): Likewise.
+       (print_one_breakpoint_location): Remove the code to print
+       actions specifically.
+       (tracepoint_save_command): Relay to print_command_lines.
+       * cli/cli-script.c (process_next_line): New parameters validator
+       and closure. Handle 'while-stepping'. Call validator if not null.
+       (read_command_lines, read_command_lines1): Likewise.
+       (recurse_read_control_structure): New parameters validator and
+       closure. Handle while_stepping_control.
+       (print_command_lines): Handle while-stepping.
+       (get_command_line, define_command, document_command): Adjust.
+       * remote.c (remote_download_tracepoint): Adjust.
+       * tracepoint.c (make_cleanup_free_actions, read_actions)
+       (free_actions, do_free_actions_cleanup): Remove.
+       (trace_actions_command): Use read_command_lines.
+       (validate_actionline): Use error in one place.
+       (encode_actions_1): New, extracted from...
+       (encode_actions): ...this. Also use cleanups for exception
+       safety.
+       (trace_dump_command): Adjust.
+       * mi/mi-cmd-break (mi_cmd_break_commands): Validate commands if
+       it's tracepoint.
+
+2010-03-23  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (OPCODES_CFLAGS): Add -I$(OPCODES_SRC)/..
+
+2010-03-22  Stan Shebs  <stan@codesourcery.com>
+
+       * value.c (value_static_field): Be lazy about the field's value.
+
+2010-03-22  Reid Kleckner  <reid@kleckner.net>
+
+       PR gdb/11094
+       * breakpoint.c (disable_breakpoints_in_unloaded_shlib): Add
+       bp_jit_event.
+       (disable_breakpoints_in_shlibs): Likewise.
+
+2010-03-22  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * dwarf2read.c (partial_die_parent_scope): Work around buggy
+       GCC 4.1 debug info generation (GCC PR c++/28460).
+       (determine_prefix): Likewise.
+
+2010-03-20  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * tui/tui-disasm.c (tui_get_begin_asm_address): Default to
+       get_current_arch.
+       * tui/tui-layout.c (extract_display_start_addr): Likewise.
+
+2010-03-19  Stan Shebs  <stan@codesourcery.com>
+
+       * ax-gdb.c (gen_fetch): Handle bool.
+       (gen_usual_unary): Ditto.
+       (gen_cast): Ditto.
+       (gen_equal): New function.
+       (gen_less): New function.
+       (gen_expr_binop_rest): Call them, also return integer type from
+       logical operations.
+       (gen_expr): Ditto.
+
+2010-03-19  Tom Tromey  <tromey@redhat.com>
+
+       * jv-lang.c (jv_dynamics_objfile_data_key)
+       (jv_type_objfile_data_key): New globals.
+       (class_symtab): Move earlier.
+       (jv_per_objfile_free): New function.
+       (get_dynamics_objfile): Call set_objfile_data.  Add 'gdbarch'
+       parameter.
+       Remove ancient #if 1.
+       (add_class_symbol): Remove redundant declaration.
+       (java_lookup_class): Use alloc_type, not alloc_type_arch.
+       (java_link_class_type): Mark as static.  Update.
+       (jv_clear_object_type): New function.
+       (set_java_object_type): Likewise.
+       (get_java_object_type): Use set_java_object_type.
+       (is_object_type): Likewise.
+       (_initialize_java_language): Register new objfile keys.
+       (get_java_class_symtab): Add 'gdbarch' parameter.
+       (add_class_symtab_symbol): Update.
+       (type_from_class): Update.
+
+2010-03-19  Stan Shebs  <stan@codesourcery.com>
+
+       * ax-general.c (ax_const_l): Fix a sizing bug. 
+
+2010-03-18  Joel Brobecker  <brobecker@adacore.com>
+
+       GDB 7.1 released.
+
+2010-03-18  Stan Shebs  <stan@codesourcery.com>
+           Pedro Alves  <pedro@codesourcery.com>
+
+       * target.h (struct target_ops): New method
+       to_set_circular_trace_buffer.
+       (target_set_circular_trace_buffer): New macro.
+       * target.c (update_current_target): Add
+       to_set_circular_trace_buffer, fix to_set_disconnected_tracing
+       default behavior.
+       * remote.c (remote_set_circular_trace_buffer): New function.
+       (init_remote_ops): Add it to vector.
+       * tracepoint.h (struct trace_status): New field traceframes_created,
+       change buffer_size and buffer_free to int.
+       * tracepoint.c (circular_trace_buffer): New global.
+       (start_tracing): Send values of disconnected tracing and circular
+       trace buffer settings.
+       (set_circular_trace_buffer): New function.
+       (parse_trace_state): Handle total space and frames created.
+       (trace_status_command): Display total space and total frames
+       created.
+       (trace_save): Write out new status values.
+       (parse_trace_status): Set traceframe_count, traceframes_created,
+       buffer_free and buffer_size to -1 by default.
+       (_initialize_tracepoint): New setshow for circular-trace-buffer.
+       * NEWS: Mention the circular trace buffer option.
+
+2010-03-18  Tom Tromey  <tromey@redhat.com>
+
+       * infcmd.c (finish_command_continuation): Wrap print_return_value
+       in TRY_CATCH.
+
+2010-03-18  Joel Brobecker  <brobecker@adacore.com>
+
+       * dwarf2read.c (add_partial_subprogram): Make sure the subprogram
+       DIE has a name before creating the associated partial symbol.
+       (read_func_scope): Emit a complaint if the subprogram does not
+       have a name or when we can't extract the subprogram PC bounds.
+
+2010-03-18  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * mi/mi-main.c (mi_cmd_list_thread_groups): Use get_current_arch
+       instead of selected frame architecture.
+
+2010-03-18  Pedro Alves  <pedro@codesourcery.com>
+
+       * infcmd.c (until_command): Use ERROR_NO_INFERIOR.  Ensure there's
+       a valid selected thread, and that it is not running.
+       (advance_command): Ditto.
+       (finish_command): Ditto.
+
+2010-03-17 Stan Shebs  <stan@codesourcery.com>
+
+       * ax-gdb.c (require_rvalue): Disallow non-scalars.
+
+       * infcall.c: Include tracepoint.h.
+       (call_function_by_hand): Disallow calls in tfind mode.
+       * infcmd.c: Include tracepoint.h.
+       (ensure_not_tfind_mode): New function.
+       (continue_1): Call it.
+       (step_1) Ditto.
+       (jump_command): Ditto.
+       (signal_command): Ditto.
+       (advance_command): Ditto.
+       (until_command): Ditto.
+       (finish_command): Ditto.
+       * tracepoint.h (disconnect_or_stop_tracing): Declare.
+
+       * ax-gdb.h (struct axs_value): New field optimized_out.
+       (gen_trace_for_var): Add gdbarch argument.
+       * ax-gdb.c (gen_trace_static_fields): New function.
+       (gen_traced_pop): Call it, add gdbarch argument.
+       (gen_trace_for_expr): Update call to it.
+       (gen_trace_for_var): Ditto, and report optimized-out variables.
+       (gen_struct_ref_recursive): Check for optimized-out value.
+       (gen_struct_elt_for_reference): Ditto.
+       (gen_static_field): Pass gdbarch instead of expression, assume
+       optimization if field not found.
+       (gen_var_ref): Set the optimized_out flag.
+       (gen_expr): Error on optimized-out variable.
+       * tracepoint.c (collect_symbol): Handle struct-valued vars as
+       expressions, skip optimized-out variables with computed locations.
+       * dwarf2loc.c (dwarf2_tracepoint_var_ref): Flag instead of
+       erroring out if location expression missing.
+       (loclist_tracepoint_var_ref): Don't error out here.
+
+2010-03-17  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (dwarf2_get_section_info): Handle case where no
+       DWARF data is available.
+
+2010-03-17  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * symfile.c (generic_load): Reset breakpoints after loading.
+
+2010-03-17  Tom Tromey  <tromey@redhat.com>
+
+       * linux-nat.c (linux_nat_detach): Check debug_linux_nat.
+
+2010-03-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * spu-tdep.c (spu_catch_start): Replace set_breakpoint call with the
+       create_breakpoint call, adjust the parameters.
+
+2010-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Chandru <chandru@in.ibm.com>
+
+       * dwarf2read.c (read_subrange_type): Set TYPE_HIGH_BOUND_UNDEFINED.
+       * valarith.c (value_subscripted_rvalue): Suppress error if
+       TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED.
+
+2010-03-16  Holger Hans Peter Freyther  <zecke@selfish.org>
+
+       * linux-record.c (record_linux_msghdr): Remove unintended semicolons.
+
+2010-03-16  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-tasks.c (task_command_1): Check that the task ptid is valid
+       before doing the associated thread switch.
+
+2010-03-16  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * MAINTAINERS: Update my email address.
+
+2010-03-16  Vladimir Prus  <vladimir@codesourcery.com>
+
+       Simplify MI breakpoint setting.
+
+       * breakpoint.c (break_command_really): Make nonstatic and
+       rename to...
+       (create_breakpoint): ...this. Rename prior function by this name
+       to...
+       (create_breakpoint_sal): ...this.
+       (create_breakpoints): Rename to...
+       (create_breakpoints_sal): ...this.
+       (set_breakpoint): Remove.
+       * breakpoint.h: Adjust to above changes.
+       * mi/mi-cmd-break.c (mi_cmd_break_insert): Simplify.
+
+2010-03-15 Stan Shebs  <stan@codesourcery.com>
+
+       * ax-gdb.c: Include cp-support.h.
+       (find_field): Remove.
+       (gen_primitive_field): New function.
+       (gen_struct_ref_recursive): New function.
+       (gen_struct_ref): Rewrite to call gen_struct_ref_recursive instead
+       of find_field.
+       (gen_static_field): New function.
+       (gen_struct_elt_for_reference): New.
+       (gen_namespace_elt): New.
+       (gen_maybe_namespace_elt): New.
+       (gen_aggregate_elt_ref): New.
+       (gen_expr): Add OP_SCOPE, display opcode name in error message.
+
+2010-03-15  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (die_needs_namespace): Also return 0 for
+       DW_TAG_subprogram.
+
+2010-03-15  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       PR c++/7936:
+       * cp-support.h: Added char *declaration element to using_direct
+       data struct.
+       (cp_add_using): Added char *declaration argument.
+       (cp_add_using_directive): Ditto.
+       (cp_lookup_symbol_imports): made extern.
+       * cp-namespace.c: Updated with the above changes.
+       * dwarf2read.c (read_import_statement): Ditto.
+       (read_namespace): Ditto.
+       (read_import_statement): Support import declarations.
+       * cp-namespace.c (cp_lookup_symbol_imports): Check for imported
+       declarations.
+       Added support for 'declaration_only' search.
+       (cp_lookup_symbol_namespace): Attempt to search for the name as
+       is before consideration of imports.
+       * symtab.c (lookup_symbol_aux_local): Added a 'declaration_only'
+       search at every block level search.
+       Now takes language argument.
+       (lookup_symbol_aux): Updated.
+
+2010-03-15  Tom Tromey  <tromey@redhat.com>
+
+       * c-exp.y (name_not_typename): Add 'operator' clause.
+
+2010-03-15  Ralf Corsepius  <ralf.corsepius@rtems.org>  (tiny change)
+
+       * configure.ac: Exit if ${gdb_target_obs}" is not set.
+       * configure: Regenerate.
+
+2010-03-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * symfile.c (addr_info_make_relative): Ignore also missing ".dynbss"
+       and ".sdynbss".  Update the comment.
+
+2010-03-15  Jie Zhang  <jie@codesourcery.com>
+
+       * MAINTAINERS: Update my email address.
+
+2010-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * gdbtypes.h (TYPE_IS_OPAQUE): Correct HAVE_CPLUS_STRUCT check.
+
+2010-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * charset.c [USE_WIN32API]: Include <windows.h>.
+        (_initialize_charset): Correct type of w32_host_default_charset.
+
+2010-03-14  Pedro Alves  <pedro@codesourcery.com>
+
+       * infrun.c (ptid_match): Don't assert that PTID is not a pid ptid.
+
+2010-03-12  Tom Tromey  <tromey@redhat.com>
+
+       PR c++/9708:
+       * dwarf2read.c (die_needs_namespace) <DW_TAG_variable>: A variable
+       in a lexical block does not need a namespace.
+       (new_symbol) <DW_TAG_variable>: Put extern variables on
+       list_in_scope in all cases.
+
+2010-03-12 Stan Shebs  <stan@codesourcery.com>
+
+       * ax-gdb.c (gen_expr): Add shift expressions.
+       (gen_expr_binop_rest): Ditto.
+
+2010-03-12  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * buildsym.c (finish_block): Reset using_directives pointer
+       after block initialization.
+
+2010-03-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * amd64-tdep.c (amd64_word_names): Replace "sp" with "".
+       * i386-tdep.c (i386_word_names): Likewise.
+
+2010-03-12  Pedro Alves  <pedro@codesourcery.com>
+
+       * target.c (memory_xfer_partial): Don't use the stack cache if
+       inspecting trace frames.
+       * tracepoint.c (finish_tfind_command): Invalidate the target
+       dcache.
+
+2010-03-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * solib-svr4.c (LM_ADDR_CHECK) <info_verbose>: Use printf_unfiltered
+       for the PIC displacement, print also the displacement value.
+       (svr4_exec_displacement):  Print DISPLACEMENT if INFO_VERBOSE.
+
+2010-03-10  Kevin Buettner  <kevinb@redhat.com>
+
+       * remote-mips.c (close_ports, mips_initialize_cleanups)
+       (mips_exit_cleanups, mips_send_command, mips_open, pmon_open)
+       (ddb_open, lsi_open, mips_remove_breakpoint, mips_remove_watchpoint)
+       (mips_stopped_by_watchpoint, send_srec, pmon_checkset)
+       (pmon_make_fastrec, pmon_check_ack, mips_expect_download)
+       (pmon_check_entry_address, pmon_check_total, pmon_end_download)
+       (pmon_download, pmon_load_fast, _initialize_remote_mips): Add
+       comments describing each of these functions.
+       (mips_enter_debug, mips_exit_debug, common_open)
+       (mips_signal_from_protocol, pmon_makeb64, pmon_zeroset): Add
+       blank line after the comment describing the function.
+
+2010-03-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * solib-svr4.c (svr4_exec_displacement): Return now success, new
+       parameter displacementp.  Update comment.
+       (svr4_relocate_main_executable): Return if non-zero SECTION_OFFSETS
+       element exists.  Return if svr4_exec_displacement was not successful.
+       Update comment.
+
+2010-03-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * solib-svr4.c (read_program_header): Support type == -1 to read
+       all program headers.
+       (read_program_headers_from_bfd): New function.
+       (svr4_static_exec_displacement): Remove and move the comment ...
+       (svr4_exec_displacement): ... here.  Remove variable found.  New
+       variable displacement.  Check also DYNAMIC.  Verify DISPLACEMENT
+       alignment for ELF targets.  Compare target vs. exec_bfd PHDRs for ELF
+       targets using read_program_headers_from_bfd.  Remove the call of
+       svr4_static_exec_displacement.
+
+2010-03-10  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (struct pubnames_header): Remove.
+       (_PUBNAMES_HEADER): Remove.
+       (_ACTUAL_PUBNAMES_HEADER_SIZE): Remove.
+       (struct aranges_header): Remove.
+       (_ARANGES_HEADER, _ACTUAL_ARANGES_HEADER_SIZE): Remove.
+       (struct dwarf2_per_objfile) <pubnames, aranges>: Remove.
+       (PUBNAMES_SECTION): Remove.
+       (ARANGES_SECTION): Remove.
+       (dwarf2_locate_sections): Don't handle pubnames or aranges.
+       (dwarf2_build_psymtabs): Remove dead code.
+       (dwarf2_build_psymtabs_easy): Remove.
+
+2010-03-10  Tom Tromey  <tromey@redhat.com>
+
+       * elfread.c (elf_symfile_read): Don't call
+       dwarf2_build_frame_info.
+       * dwarf2read.c (struct dwarf2_section_info) <readin>: New field.
+       (struct dwarf2_per_objfile) <objfile>: New field.
+       (dwarf2_has_info): Now idempotent.  Set objfile field.
+       (dwarf2_read_section): Check and set readin field.  Call
+       posix_madvise.
+       (dwarf2_build_psymtabs): Don't read all sections.
+       (read_type_comp_unit_head): Read types section.
+       (create_debug_types_hash_table): Likewise.
+       (init_cu_die_reader): Add asserts.
+       (process_type_comp_unit): Add assert.
+       (dwarf2_build_psymtabs_hard): Read info section.
+       (load_partial_comp_unit): Add assert.
+       (create_all_comp_units): Read info section.
+       (load_full_comp_unit): Likewise.
+       (dwarf2_ranges_read): Read ranges section.
+       (dwarf2_record_block_ranges): Add assert.
+       (dwarf2_read_abbrevs): Read abbrev section.
+       (read_indirect_string): Read str section.
+       (dwarf_decode_line_header): Read line section.
+       (read_signatured_type_at_offset): Read types section.
+       (dwarf_decode_macros): Read macinfo section.
+       (dwarf2_symbol_mark_computed): Read loc section.
+       * dwarf2-frame.c (dwarf2_frame_find_fde): Call
+       dwarf2_build_frame_info.
+       (dwarf2_build_frame_info): Unconditionally set
+       dwarf2_frame_objfile_data on the objfile.
+       * configure.ac: Check for posix_madvise.
+       * config.in, configure: Rebuild.
+
+2010-03-10  Tom Tromey  <tromey@redhat.com>
+
+       * xcoffread.c (xcoff_start_psymtab): Update.
+       (xcoff_end_psymtab): Update.
+       * psymtab.c (allocate_psymtab): Remove dead code.
+       * psympriv.h (struct partial_symtab) <read_symtab_private>: Now
+       void*.
+       * mdebugread.c (parse_partial_symbols): Update.
+       (new_psymtab): Likewise.
+       * dwarf2read.c (process_psymtab_comp_unit): Update.
+       (psymtab_to_symtab_1): Update.
+       * dbxread.c (start_psymtab): Update.
+       (end_psymtab): Likewise.
+
+2010-03-10  Tom Tromey  <tromey@redhat.com>
+
+       * xcoffread.c: Include psymtab.h.
+       (xcoff_sym_fns): Update.
+       * symtab.h (struct partial_symbol): Remove.
+       (PSYMBOL_DOMAIN, PSYMBOL_CLASS): Remove.
+       (struct partial_symtab): Remove.
+       (PSYMTAB_TO_SYMTAB): Remove.
+       (lookup_partial_symbol, lookup_partial_symtab, find_pc_psymtab)
+       (find_pc_sect_psymtab): Remove.
+       (find_pc_sect_symtab_via_partial): Declare.
+       (find_pc_psymtab, find_pc_sect_psymbol, psymtab_to_symtab)
+       (find_main_psymtab): Remove.
+       (find_main_filename): Declare.
+       (fixup_psymbol_section): Remove.
+       (fixup_section): Declare.
+       * symtab.c: Include psymtab.h.
+       (lookup_symtab): Use lookup_symtab method.
+       (lookup_partial_symtab): Remove.
+       (find_pc_sect_psymtab_closer): Remove.
+       (find_pc_sect_psymtab): Remove.
+       (find_pc_sect_symtab_via_partial): New function.
+       (find_pc_psymtab, find_pc_sect_psymbol, find_pc_psymbol): Remove.
+       (fixup_section): No longer static.
+       (fixup_psymbol_section): Remove.
+       (lookup_symbol_aux): Use lookup_symbol_aux_quick.
+       (lookup_global_symbol_from_objfile): Likewise.
+       (lookup_symbol_aux_psymtabs): Remove.
+       (lookup_symbol_aux_quick): New function.
+       (lookup_symbol_global): Use lookup_symbol_aux_quick.
+       (lookup_partial_symbol): Remove.
+       (basic_lookup_transparent_type_quick): New function.
+       (basic_lookup_transparent_type): Use it.
+       (find_main_psymtab): Remove.
+       (find_main_filename): New function.
+       (find_pc_sect_symtab): Use find_pc_sect_symtab method.
+       (find_line_symtab): Use expand_symtabs_with_filename method.
+       (output_partial_symbol_filename): New function.
+       (sources_info): Use map_partial_symbol_filenames.
+       (struct search_symbols_data): New type.
+       (search_symbols_file_matches): New function.
+       (search_symbols_name_matches): Likewise.
+       (search_symbols): Use expand_symtabs_matching method.
+       (struct add_name_data): Rename from add_macro_name_data.
+       (add_macro_name): Update.
+       (add_partial_symbol_name): New function.
+       (default_make_symbol_completion_list): Use
+       map_partial_symbol_names.
+       (struct add_partial_symbol_name): New type.
+       (maybe_add_partial_symtab_filename): New function.
+       (make_source_files_completion_list): Use
+       map_partial_symbol_filenames.
+       (expand_line_sal): Use expand_symtabs_with_filename method.
+       * symmisc.c: Include psymtab.h.
+       (print_objfile_statistics): Use print_stats method.
+       (dump_objfile): Use dump method.
+       (dump_psymtab, maintenance_print_psymbols)
+       (maintenance_info_psymtabs, maintenance_check_symtabs)
+       (extend_psymbol_list): Remove.
+       * symfile.h (struct quick_symbol_functions): New struct.
+       (struct sym_fns) <qf>: New field.
+       (sort_pst_symbols): Remove.
+       (increment_reading_symtab): Declare.
+       * symfile.c: Include psymtab.h.
+       (compare_psymbols, sort_pst_symbols): Remove.
+       (psymtab_to_symtab): Remove.
+       (increment_reading_symtab): New function.
+       (symbol_file_add_with_addrs_or_offsets): Use expand_all_symtabs
+       method.
+       (set_initial_language): Use find_main_filename.
+       (allocate_psymtab, discard_psymtab, cashier_psymtab): Remove.
+       (free_named_symtabs): Remove unused code.
+       (start_psymtab_common, add_psymbol_to_bcache)
+       (append_psymbol_to_list, add_psymbol_to_list, init_psymbol_list):
+       Remove.
+       * stack.c: Include psymtab.h, symfile.h.
+       (backtrace_command_1): Use find_pc_sect_symtab_via_partial.
+       * source.h (psymtab_to_fullname): Don't declare.
+       * source.c: Include psymtab.h.
+       (select_source_symtab): Use find_last_source_symtab method.
+       (forget_cached_source_info): Use forget_cached_source_info
+       method.
+       (find_and_open_source): No longer static.
+       (psymtab_to_fullname): Remove.
+       * somread.c: Include psymtab.h.
+       (som_sym_fns): Update.
+       * psympriv.h: New file.
+       * psymtab.h: New file.
+       * psymtab.c: New file.
+       * objfiles.h: (ALL_OBJFILE_PSYMTABS): Remove.
+       (ALL_PSYMTABS, ALL_PSPACE_PSYMTABS): Likewise.
+       * objfiles.c: Include psymtab.h.
+       (objfile_relocate1): Use relocate method.
+       (objfile_has_partial_symbols): Use has_symbols method.
+       * mipsread.c: Include psymtab.h.
+       (ecoff_sym_fns): Update.
+       * mi/mi-cmd-file.c: Include psymtab.h.
+       (print_partial_file_name): New function.
+       (mi_cmd_file_list_exec_source_files): Use
+       map_partial_symbol_filenames.
+       * mdebugread.c: Include psympriv.h.
+       * machoread.c: Include psympriv.h.
+       (macho_sym_fns): Update.
+       * m2-exp.y (yylex): Use lookup_symtab.
+       * elfread.c: Include psympriv.h.
+       (elf_sym_fns): Update.
+       * dwarf2read.c: Include psympriv.h.
+       * dbxread.c: Include psympriv.h.
+       (aout_sym_fns): Update.
+       * cp-support.c: Include psymtab.h.
+       (read_in_psymtabs): Remove.
+       (make_symbol_overload_list_qualified): Use
+       expand_symtabs_for_function method.
+       * coffread.c: Include psympriv.h.
+       (coff_sym_fns): Update.
+       * blockframe.c: Include psymtab.h.
+       (find_pc_partial_function): Use find_pc_sect_symtab method.
+       * ada-lang.h (ada_update_initial_language): Update.
+       * ada-lang.c: Include psymtab.h.
+       (ada_update_initial_language): Remove 'main_pst' argument.
+       (ada_lookup_partial_symbol): Remove.
+       (struct ada_psym_data): New type.
+       (ada_add_psyms): New function.
+       (ada_add_non_local_symbols): Use map_ada_symtabs method.
+       (struct add_partial_datum): New type.
+       (ada_add_partial_symbol_completions): New function.
+       (ada_make_symbol_completion_list): Use map_partial_symbol_names.
+       (ada_exception_support_info_sniffer): Update.
+       * Makefile.in (SFILES): Add psymtab.c.
+       (COMMON_OBS): Add psymtab.o.
+       (HFILES_NO_SRCDIR): Add psymtab.h, psympriv.h.
+
+2010-03-10  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * remote-fileio.c (cygwin_conv_path): Define macro for old cygwin API.
+
+2010-03-10  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       PR C++/11236:
+       * cp-namespace.c (cp_add_using): Deleted.
+       (cp_add_using_directive): Use obstack allocations.
+       Merged the function cp_add_using into this one.
+       Added 'struct obstack *' argument.
+       (cp_scan_for_anonymous_namespaces): Updated.
+       * cp-support.h: Updated.
+       * dwarf2read.c (read_import_statement): Updated.
+       (read_namespace): Updated.
+
+2010-03-10  Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * windows-nat.c (cygwin_conv_path): Remove old macro.
+
+2010-03-10  Pedro Alves  <pedro@codesourcery.com>
+
+       * breakpoint.c (condition_command): Handle watchpoint conditions.
+       (is_hardware_watchpoint): Add comment.
+       (is_watchpoint): New.
+       (update_watchpoint): Don't reparse the watchpoint's condition
+       unless necessary.
+       (WP_IGNORE): New.
+       (watchpoint_check): Use it.
+       (bpstat_check_watchpoint): Handle it.
+       (bpstat_check_breakpoint_conditions): Evaluate watchpoint local
+       conditions in a frame where it makes sense.
+       (watch_command_1): Store the innermost block of the condition
+       expression.
+       (delete_breakpoint): Delete the watchpoint condition expression.
+       * breakpoint.h (struct bp_location) <cond>: Update comment.
+       (struct breakpoint): New field `cond_exp_valid_block'.
+
+2010-03-09  Joel Brobecker  <brobecker@adacore.com>
+
+       Adjust handling of Ada DIEs after dwarf2_physname patch.
+       * dwarf2read.c (dwarf2_compute_name): Add handling of Ada DIEs.
+
+2010-03-09  Christopher Faylor  <me+cygwin@cgf.cx>
+           Pierre Muller  <muller@ics.u-strasbg.fr>
+
+       * windows-nat.c (cygwin_conv_path): Redefine to properly convert
+       from/to posix/win32.
+       (windows_make_so): Use non-Cygwin 1.7 specific function.
+       (windows_create_inferior): Make sure that cygallargs points to
+       original args in non Cygwin 1.7. case.
+
+2010-03-09  Michael Snyder  <msnyder@vmware.com>
+
+       * i386-tdep.c (i386_record_lea_modrm_addr): Use extract_signed_int
+       after target_read_memory to get host byte order.
+       (i386_process_record): Ditto.
+
+2010-03-09  Keith Seitz  <keiths@redhat.com>
+
+       Based on work from Daniel Jacobowitz  <dan@codesourcery.com>
+       * c-typeprint.c (cp_type_print_method_args): For non-static methods,
+       print out const or volatile qualifiers, too.
+       (c_type_print_args): Add parameters show_artificial and language.
+       Skip artificial parameters when requested.
+       Use the appropriate language printer.
+       (c_type_print_varspec): Tell c_type_print_args to skip artificial
+       parameters and pass language_c.
+       * dwarf2read.c (die_list): New file global.
+       (struct partial_die_info): Update comments for name field.
+       (pdi_needs_namespace): Renamed to ...
+       (die_needs_namespace): ... this. Rewrite.
+       (dwarf2_linkage_name): Remove.
+       (add_partial_symbol): Do not predicate the call to
+       partial_die_full_name based on pdi_needs_namespace.
+       Remove call to cp_check_possible_namespace_symbols and associated
+       outdated comments.
+       (guess_structure_name): Do not inspect child subprogram DIEs.
+       (dwarf2_fullname): Update comments.
+       Use die_needs_namespace to assist in computing the name.
+       (read_func_scope): Use dwarf2_name to get the DIE's name.
+       Use dwarf2_physname to get the "linkage name" of the DIE.
+       (dwarf2_add_member_field): Use dwarf2_physname instead of
+       dwarf2_linkage_name.
+       (read_structure_type): For structs and classes, set TYPE_NAME, too.
+       (determine_class): Remove.
+       (read_partial_die): Ignore DW_AT_MIPS_linkage_name for all languages
+       except Ada.
+       (new_symbol): Unconditionally call dwarf2_name.
+       Compute the "linkage name" using dwarf2_physname.
+       Use dwarf2_name instead of dwarf2_full_name for enumerator DIEs.
+       When determining to scan for anonymous C++ namespaces, ignore
+       the linkage name.
+       (dwarf2_physname): New function.
+       (dwarf2_full_name): Move content to new function and call
+       that.
+       (dwarf2_compute_name): "New" function.
+       (_initialize_dwarf2_read): Initialize die_list.
+       * gnu-v3-eabi.c (gnu_v3_find_method_in): Remove unused variable
+       physname.
+       (gnu_v3_print_method_ptr): Use the physname for virtual methods
+       without a demangled name.
+       Print out type information for non-virtual methods.
+       * linespec.c (decode_line_1): Force ANY string using "::" (or
+       "." for java) to use decode_compound, and clean up any stray quoting.
+       If we found a file symtab, re-evaluate whether the remainder is_quoted.
+       (decode_compound): Stop consuming at an open parenthesis.
+       Keep template parameters.
+       Keep any overload information.
+       Keep keywords like "const".
+       Remove paren_pointer.
+       Move is_quoted check from set_flags to here.
+       Remove #if 0 code from 2000. Ten years is long enough.
+       (find_method): Before comparing symbol names, canonicalize the string
+       from the user.
+       If a specific overload is requested, find it. Otherwise throw an error.
+       (find_method_overload_end): New function.
+       (set_flags): Remove.
+       (decode_compound): Assume that parentheses are matched.
+       It's a lot easier.
+       * symtab.c (symbol_find_demangled_name): Add DMGL_VERBOSE flag
+       to cplus_demangle.
+       * linespec.c (decode_line_1): Keep important keywords like
+       "const" and "volatile".
+       * symtab.h (SYMBOL_CPLUS_DEMANGLED_NAME): Remove.
+       * typeprint.h (c_type_print_args): Add declaration.
+       * ui-file.c (do_ui_file_obsavestring): New function.
+       (ui_file_obsavestring): New function.
+       * ui-file.h (ui_file_obsavestring): Add declaration.
+       * valops.c (find_overload_match): Resolve the object to
+       a non-pointer type.
+       If the object is a data member, search the object for the member
+       and return with staticp set.
+       Use SYMBOL_NATURAL_NAME instead of SYMBOL_CPLUS_DEMANGLED_NAME.
+       Do not attempt to extract a function name from non-function types.
+       If the extracted function name and the original name are the same,
+       we don't have a C++ method.
+
+       From Jan Kratochvil  <jan.kratochvil@redhat.com>:    
+       * dwarf2read.c (new_symbol <DW_TAG_enumerator>): Call dwarf2_full_name.
+
+       * ada-lang.c (ada_lookup_symbol): Remove linkage_name parameters
+       and arguments from symbol lookups.
+       * ax-gdb.c (gen_expr): Likewise.
+       * cp-namespace.c (cp_lookup_symbol_nonlocal, lookup_namespace_scope,
+       cp_lookup_symbol_namespace, lookup_symbol_file, lookup_nested_type,
+       lookup_possible_namespace_symbol): Likewise.
+       * cp-support.c (read_in_psymtabs): Likewise.
+       * cp-support.h (cp_lookup_symbol_nonlocal): Likewise.
+       * language.h (la_lookup_symbol_nonlocal): Likewise.
+       * scm-valprint.c (scm_inferior_print): Likewise.
+       * solib-darwin.c (darwin_relocate_section_addresses): Likewise.
+       * solib-svr.c (elf_lookup_lib): Likewise.
+       * solib.c (show_auto_solib_add): Likewise.
+       * solist.h (lookup_lib_global, solib_global_lookup): Likewise.
+       * symmisc.c (maintenance_check_symtabs): Likewise.
+       * symtab.c (lookup_symbol_in_language, lookup_symbol_aux,
+       lookup_symbol_aux_local, lookup_symbol_aux_block,
+       lookup_symbol_from_objfile, lookup_symbol_aux_symtabs,
+       lookup_symbol_aux_psymtabs,basic_lookup_symbol_nonlocal,
+       lookup_symbol_static, lookup_symbol_global, symbol_matches_domain,
+       basic_lookup_transparent_type, find_main_psymtab,
+       lookup_block_symbol): Likewise.
+       * symtab.h (basic_lookp_symbol_nonlocal, lookup_symbol_static,
+       lookup_symbol_global, lookup_symbol_aux_block,
+       lookup_symbol_partial_symbol, lookup_block_symbol,
+       lookup_global_symbol, value_maybe_namespace_elt): Likewise.
+
 2010-03-09  Pierre Muller  <muller@ics.u-strasbg.fr>
 
        * python/python-internal.h: Include symtab.h.
 
-2010-03-09  Joel Brobecker <brobecker@adacore.com>
-           Pierre Muller <muller@ics.u-strasbg.fr>
+2010-03-09  Joel Brobecker  <brobecker@adacore.com>
+           Pierre Muller  <muller@ics.u-strasbg.fr>
 
        * p-lang.c (is_pascal_string_type): Remove unneeded parentheses.
        * p-valprint.c (pascal_val_print): Remove undeed block and fix
 2010-03-07  Joel Brobecker  <brobecker@adacore.com>
 
        * remote.c (remote_get_ada_task_ptid): New function.
-        (init_remote_ops): Set remote_ops.to_get_ada_task_ptid.
+       (init_remote_ops): Set remote_ops.to_get_ada_task_ptid.
 
 2010-03-06  Christopher Faylor  <me+cygwin@cgf.cx>
 
        address as UnsignedLongLong, not LongLong.
 
 2010-03-05  Kevin Buettner  <kevinb@redhat.com>
-            Pedro Alves  <pedro@codesourcery.com>
+           Pedro Alves  <pedro@codesourcery.com>
 
        * remote-mips.c (gdbthread.h): Include.
        (remote_mips_ptid): Declare.
        GDB's gdbarch_addr_bit as size of values on the DWARF stack.
 
 2010-02-26  Phil Muldoon  <pmuldoon@redhat.com>
-            Tom Tromey  <tromey@redhat.com>
+           Tom Tromey  <tromey@redhat.com>
 
        * python/py-type.c (typy_lookup_typename): Add in block argument.
        If provided restrict lookup to specified blocks.
@@ -1572,8 +2699,8 @@ Mon Feb  8 13:17:10 2010  Chris Moller  <moller@mollerware.com>
 
 2010-01-25  gingold  <gingold@adacore.com>
 
-        * windows-nat.c (windows_continue): Use %x to print thread id.
-        (get_windows_debug_event): Ditto.
+       * windows-nat.c (windows_continue): Use %x to print thread id.
+       (get_windows_debug_event): Ditto.
 
 2010-01-22  Tom Tromey  <tromey@redhat.com>
 
@@ -2604,7 +3731,7 @@ Mon Feb  8 13:17:10 2010  Chris Moller  <moller@mollerware.com>
 
 2010-01-04  Ulrich Weigand  <uweigand@de.ibm.com>
 
-        * features/Makefile (WHICH): Add s390-linux32, s390-linux64,
+       * features/Makefile (WHICH): Add s390-linux32, s390-linux64,
        and s390x-linux64.
        (s390-linux32-expedite): Define.
        (s390-linux64-expedite): Define.
This page took 0.035857 seconds and 4 git commands to generate.