2010-07-28 Oleg Nesterov <oleg@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 1cfa87db0f6b098b17790b8710b8390d722e4df7..6fca089516a2d2ac3547faea5ed9843a2616eb89 100644 (file)
@@ -1,3 +1,368 @@
+2010-07-28  Oleg Nesterov  <oleg@redhat.com>
+
+       * remote.c (readchar): Call pop_target in case of SERIAL_ERROR.
+
+2010-07-27  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (dwarf2_const_value_data): Never sign extend.
+
+2010-07-28  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * dwarf2read.c (read_subroutine_type): Improve THIS detection,
+       handling DW_AT_object_pointer, and workaround GCC PR 43053.
+
+2010-07-28  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (HFILES_NO_SRCDIR): Remove link-warning.h.
+
+2010-07-28  Joel Brobecker  <brobecker@adacore.com>
+
+       * remote.c (remote_download_tracepoint): Add missing gettext markup.
+       * tracepoint.c (parse_static_tracepoint_marker_definition): Likewise.
+
+2010-07-28  Joel Brobecker  <brobecker@adacore.com>
+
+       * breakpoint.c (breakpoint_re_set_one): Move call to set_language
+       down, just before the block that parse the breakpoint addr_string.
+
+2010-07-28  Tom Tromey  <tromey@redhat.com>
+
+       PR c++/9946:
+       * symfile.c (reread_symbols): Clear template_symbols.
+       * symtab.h (struct symbol) <is_cplus_template_function>: New
+       field.
+       (SYMBOL_IS_CPLUS_TEMPLATE_FUNCTION): New macro.
+       (struct template_symbol): New.
+       * symtab.c (lookup_symbol_aux_local): Use
+       cp_lookup_symbol_imports_or_template.
+       * objfiles.h (struct objfile) <template_symbols>: New field.
+       * objfiles.c (relocate_one_symbol): New function.
+       (objfile_relocate1): Use it.  Relocate isolated symbols.
+       * gdbtypes.h (struct cplus_struct_type) <n_template_arguments,
+       template_arguments>: New fields.
+       (TYPE_N_TEMPLATE_ARGUMENTS): New macro.
+       (TYPE_TEMPLATE_ARGUMENTS): Likewise.
+       (TYPE_TEMPLATE_ARGUMENT): Likewise.
+       (lookup_typename): Update.
+       * gdbtypes.c (lookup_typename): Constify "block" argument.
+       * dwarf2read.c: Include vec.h.
+       (symbolp): New typedef.
+       (read_func_scope): Read template arguments.  Allocate a
+       template_symbol when needed.
+       (read_structure_type): Read template arguments.
+       (new_symbol_full): New function, from new_symbol.  Handle
+       DW_TAG_template_type_param and DW_TAG_template_value_param.
+       (new_symbol): Rewrite as wrapper.
+       * cp-support.h (cp_lookup_symbol_imports_or_template): Declare.
+       * cp-namespace.c: Include language.h.
+       (search_symbol_list): New function.
+       (cp_lookup_symbol_imports_or_template): Likewise.
+
+2010-07-28  Balazs Kezes  <rlblaster@gmail.com>
+
+       * tui/tui-win.c (make_visible_with_new_height): Resize and move
+       the command window to the new size and position.
+
+2010-07-28  Balazs Kezes  <rlblaster@gmail.com>
+
+       * tui/tui-win.c (tui_resize_all): Update the locator's origin's
+       coordinates.
+
+2010-07-28  Balazs Kezes  <rlblaster@gmail.com>
+
+       * tui/tui-io.c (tui_handle_resize_during_io): Call tui_resize_all
+       after a detecting a resize.
+       * tui/tui-win.c (tui_resize_all): Remove tui_set_win_resized_to
+       call.
+
+2010-07-28  Pedro Alves  <pedro@codesourcery.com>
+
+       * configure.ac: Check for resize_term.
+       * configure, config.in: Regenerate.
+
+2010-07-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * MAINTAINERS (Write After Approval): Reorder a couple of entries.
+
+2010-07-27  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * dwarf2read.c (read_string): Rename to ...
+       (read_direct_string): ... this.
+       (skip_one_die, read_attribute_value, dwarf_decode_line_header)
+       (dwarf_decode_lines, dwarf_decode_macros): Adjust.
+
+2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * linux-nat.c (linux_nat_lp_status_is_event): New function.
+       (count_events_callback, select_event_lwp_callback)
+       (cancel_breakpoints_callback, linux_nat_wait_1): Use it.
+
+2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * ia64-linux-nat.c (ia64_linux_status_is_event): New function.
+       (_initialize_ia64_linux_nat): Install it.
+       * linux-nat.c (sigtrap_is_event, linux_nat_status_is_event)
+       (linux_nat_set_status_is_event): New.
+       (stop_wait_callback, count_events_callback, select_event_lwp_callback)
+       cancel_breakpoints_callback, linux_nat_filter_event)
+       (linux_nat_wait_1): Use linux_nat_status_is_event.
+       * linux-nat.h (linux_nat_set_status_is_event): New prototype.
+
+2010-07-27  Tom Tromey  <tromey@redhat.com>
+
+       * NEWS: Mention labels, .gdb_index.
+
+2010-07-28  CHENG Renquan  <rqcheng@smu.edu.sg>
+
+       * cli/cli-cmds.c (disassemble_command): Add support of disassemble
+       "start,+length" form of arguments.
+       * NEWS: Add "Changed commands" (disassemble) section for "Changes
+       since GDB 7.1"; and merge two separated paragraphs of disassemble
+       description in "Changes in GDB 7.0".
+
+2010-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * top.c (input_from_terminal_p): Return 0 on BATCH_FLAG.
+       * utils.c (defaulted_query): Do not explicitly check for BATCH_FLAG.
+       (fputs_maybe_filtered): Do not do filtering also on
+       ! INPUT_FROM_TERMINAL_P.
+
+2010-07-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * dwarf2read.c (dw2_find_pc_sect_symtab): Remove trailing newline
+       in warning message.
+
+2010-07-27  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * python/py-value.c (valpy_call): New Function.
+
+2010-07-27  Ken Werner  <ken.werner@de.ibm.com>
+
+       * dwarf2read.c (dwarf2_read_index): Initialize the types_list and 
+       types_list_elements variables.
+
+2010-07-26  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2loc.c (locexpr_describe_location_piece): Also recognize
+       TLS with DW_OP_const4u or DW_OP_const8u.
+
+2010-07-26  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * ppc-linux-nat.c (store_vsx_register): Use PTRACE_GETVSXREGS to get
+       VSX registers contents.
+
+2010-07-26  Jerome Guitton  <guitton@adacore.com>
+
+       * dwarf2read.c (add_partial_symbol): Do not add a global variable if
+       its adress is null. Add comment to explain why.
+       (new_symbol): Ditto.
+
+2010-07-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * linux-nat.c (linux_nat_do_thread_registers): Convert STOP_SIGNAL to
+       the host signal first.
+
+2010-07-23  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (struct dwarf2_per_objfile) <n_type_comp_units,
+       type_comp_units>: New fields.
+       (dw2_get_cu): New function.
+       (create_cus_from_index): Remove unused argument.
+       (create_signatured_type_hash_from_index): New function.
+       (create_addrmap_from_index): Update.
+       (dwarf2_read_index): Handle version 2.
+       (dw2_find_last_source_symtab, dw2_forget_cached_source_info)
+       (dw2_lookup_symtab, dw2_do_expand_symtabs_matching)
+       (dw2_print_stats, dw2_expand_all_symtabs)
+       (dw2_expand_symtabs_with_filename, dw2_find_symbol_file)
+       (dw2_expand_symtabs_matching, dw2_map_symbol_filenames): Update.
+       (dwarf2_initialize_objfile): Call create_debug_types_hash_table.
+       (allocate_signatured_type_hash_table): New function.
+       (add_signatured_type_cu_to_list): Likewise.
+       (create_debug_types_hash_table): Use them.  Set type_comp_units.
+       (read_signatured_type): Ensure section data is available.
+       (add_address_entry): Don't record empty ranges.
+       (struct signatured_type_index_data): New.
+       (write_one_signatured_type): New function.
+       (write_psymtabs_to_index): Write type CUs.
+       (save_gdb_index_command): Update comment.
+       (process_type_comp_unit): Move inititalization of
+       from_debug_types...
+       (create_debug_types_hash_table): ... here.
+
+2010-07-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * gdb_gcore.sh (tmpfile): Remove the variable, its initialization,
+       cleanup and generating of gdb script to it.
+       (gdb): Use redirection from /dev/null.  Use --nx.  Turn off pagination
+       and terminal size.  Convert $tmpfile to a series of -ex-es.
+
+2010-07-23  Keith Seitz  <keiths@redhat.com>
+
+       * symtab.c (basic_lookup_transparent_type): Call pre-expand
+       hook for STATIC_BLOCK types, too.
+
+2010-07-23  Keith Seitz  <keiths@redhat.com>
+
+       * dwarf2read.c: Remove unused typedef dwarf2_cu_per_cu_data_ptr
+       and vector definition.
+
+2010-07-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * linux-nat.c (cancel_breakpoint): Remove unused forward declaration.
+
+2010-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * dwarf2read.c: Include completer.h.
+       (save_gdb_index_command): Use matching usage command name.
+       (_initialize_dwarf2_read): New variable c, initialize it by add_cmd.
+       Set filename_completer for it.
+
+2010-07-22  Tom Tromey  <tromey@redhat.com>
+
+       * dwarf2read.c (create_debug_types_hash_table): Set objfile on
+       type signature's per-CU data.
+
+2010-07-22  Pedro Alves  <pedro@codesourcery.com>
+
+       * NEWS: Mention target reported shared libraries support by
+       default.
+
+2010-07-21  Pedro Alves  <pedro@codesourcery.com>
+
+       PR symtab/11827
+
+       Revert:
+       2010-05-21  Pierre Muller  <muller@ics.u-strasbg.fr>
+       * dwarf2read.c (process_die): Also allow DW_TAG_const_type
+       and DW_TAG_volatile_type.
+       (new_symbol): Likewise.
+
+2010-07-21  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * eval.c (evaluate_subexp_standard): Disabled evaluation of C++
+       function symbols before overload resolution.
+
+2010-07-21  Pedro Alves  <pedro@codesourcery.com>
+
+       * breakpoint.c (bptype_string): New, abstracted out from
+       print_one_breakpoint_location.
+       (print_one_breakpoint_location): Adjust.
+       (breakpoint_1): Adjust the type column width dynamically.
+
+2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * symfile.c (find_separate_debug_file_by_debuglink): Remove
+       a gdb_assert call, new comment.
+
+2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * linux-nat.c (linux_handle_extended_wait): Handle case when
+       event == PTRACE_EVENT_CLONE && stopping && WSTOPSIG (status) != SIGSTOP.
+
+2010-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup.
+       * linux-nat.c (linux_nat_wait_1): Reset STATUS after calling
+       linux_nat_wait_1.  Use always LP->STATUS afterwards.
+
+2010-07-20  Hui Zhu  <teawater@gmail.com>
+
+       * inf-ptrace.c (inf_ptrace_create_inferior): Initialize back_to.
+       (inf_ptrace_attach): Ditto.
+
+2010-07-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Make core files the process_stratum.
+       * corefile.c (core_target): New variable.
+       (core_file_command): Remove variable t, use core_target.
+       * corelow.c (core_ops): Make it static.
+       (init_core_ops): Change to process_stratum.  Initialize CORE_TARGET.
+       * defs.h (make_cleanup_unpush_target): New prototype.
+       * gdbarch.h: Regenerate.
+       * gdbarch.sh (core_pid_to_str): Remove core_stratum from its comment.
+       * gdbcore.h (core_target): New declaration.
+       * inf-ptrace.c (inf_ptrace_create_inferior, inf_ptrace_attach): New
+       variables ops_already_pushed and back_to.  Use push_target,
+       make_cleanup_unpush_target and discard_cleanups calls.
+       * record.c (record_open): Replace core_stratum by a core_bfd check.
+       * target.c (target_is_pushed): New function.
+       (find_core_target): Remove.
+       * target.h (enum strata) <core_stratum>: Remove.
+       (target_is_pushed): New declaration.
+       (find_core_target): Remove declaration.
+       * tracepoint.c (init_tfile_ops) <to_stratum>: Remove comment.
+       * utils.c (do_unpush_target, make_cleanup_unpush_target): New functions.
+
+2010-07-19  Hui Zhu  <teawater@gmail.com>
+
+       * breakpoint.c (single_step_breakpoints_inserted): New
+       function.
+       * breakpoint.h (single_step_breakpoints_inserted): Extern.
+       * infrun.c (maybe_software_singlestep): Add check code.
+       * record.c (record_resume): Add code for software single step.
+       (record_wait): Ditto.
+
+2010-07-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * linux-nat.c (linux_handle_extended_wait): Move variable new_lp into
+       a more inner block.  Remove its unused declaration initializer.
+
+2010-07-16  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+       * NEWS: Mention support for the new ptrace interface and hardware
+       accelerated watchpoint conditions on powerpc-linux.
+
+2010-07-16  Ozkan Sezer  <sezeroz@gmail.com>
+
+       * target.c (debug_to_insert_breakpoint): Instead of casting to unsigned
+       long and %ld, use core_addr_to_string() and %s to print CORE_ADDR vars
+       and host_address_to_string() and %s for pointers.
+       (debug_to_remove_breakpoint): Likewise.
+       (debug_to_region_ok_for_hw_watchpoint): Likewise.
+       (debug_to_can_accel_watchpoint_condition): Likewise.
+       (debug_to_stopped_data_address): Likewise.
+       (debug_to_watchpoint_addr_within_range): Likewise.
+       (debug_to_insert_hw_breakpoint): Likewise.
+       (debug_to_remove_hw_breakpoint): Likewise.
+       (debug_to_insert_watchpoint): Likewise.
+       (debug_to_remove_watchpoint): Likewise.
+
+2010-07-16  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * symtab.h (symbol_set_demangled_name): Now takes an optional objfile*
+       argument.
+       (cplus_specific): New struct.
+       * symtab.c (symbol_set_demangled_name): Updated.
+       Use cplus_specific for cplus symbols.
+       (symbol_get_demangled_name): Retrive the name from the cplus_specific
+       struct for cplus symbols.
+       (symbol_init_language_specific): Set cplus_specific for cplus symbols.
+       (symbol_set_names): Pass objfile to symbol_set_demangled_name.
+       * symtab.c (symbol_init_cplus_specific): New function.
+
+2010-07-16  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * symtab.h (symbol_set_demangled_name): New function.
+       (symbol_get_demangled_name): New function.
+       * symtab.c (symbol_set_demangled_name): New function.
+       (symbol_get_demangled_name): New function.
+       (symbol_init_language_specific): Use demangled_name setter and getter.
+       (symbol_set_names): Ditto.
+       (symbol_natural_name): Ditto.
+       (symbol_demangled_name): Ditto.
+       * dwarf2read.c (new_symbol): Ditto.
+
+2010-07-16  Sami Wagiaalla  <swagiaal@redhat.com>
+
+       * symtab.h: Renamed cplus_specific to mangled_lang.
+       * symtab.c (symbol_init_language_specific): Updated.
+       (symbol_set_names): Updated.
+       (symbol_natural_name): Updated.
+       (symbol_demangled_name): Updated.
+       * ada-lang.c (ada_decode_symbol): Updated.
+       * dwarf2read.c (new_symbol): Updated.
+
 2010-07-14  Ken Werner  <ken.werner@de.ibm.com>
 
        * valops.c (value_assign): Do not call to value_coerce_to_target.
This page took 0.036021 seconds and 4 git commands to generate.