* breakpoint.c (bpdisp_text): Constify bpdisps.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 6671818c86d79c2ae5179a7f67e10733e4fcb417..5eb88a37ba6291ca638c1678b067a9ddd3d237bc 100644 (file)
@@ -1,3 +1,321 @@
+2010-08-03  Doug Evans  <dje@google.com>
+
+       * breakpoint.c (bpdisp_text): Constify bpdisps.
+       * solib-svr4.c (solib_break_names): Constify.
+       (bkpt_names, main_name_list): Constify.
+       (match_main): Constify soname arg.
+       (bfd_lookup_symbol): Constify symname arg.
+       (enable_break): Constify bkpt_namep.
+       * symtab.c (search_symbols): Constify types, types2, types3, types4.
+       (symtab_symbol_info): Constify classnames.
+
+2010-08-03  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * NEWS: Document Python value inferior function calls.
+
+2010-08-02  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dwarf_attr_name): Add DW_AT_GNU_odr_signature.
+
+2010-07-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
+
+       * linux-thread-db.c (libthread_db_debug): New variable.
+       (thread_db_find_new_threads_silently): Control verbosity with it.
+       (try_thread_db_load_1, try_thread_db_load): Likewise.
+       (find_new_threads_once): Likewise.
+       (_initialize_thread_db): Set/show it.
+
+2010-07-31  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * common/signals.c (signals): Move the content to signals.def.
+       Include it.  Remove the INDENT comments.
+
+2010-07-30  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (install-only): Install gdb-add-index.
+       * gdb-add-index.sh: New file.
+
+2010-07-31  Renquan Cheng  <crq@gcc.gnu.org>
+
+       * MAINTAINERS: Add myself for write after approval privileges.
+
+2010-07-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * symfile.c (addr_section_name): New function.
+       (addrs_section_compar): Use it.
+       (addr_info_make_relative): Use it.  Move variable sect_name into a more
+       inner block.  Make ".dynbss" and ".sdynbss" checks more strict.
+
+2010-07-30  Tom Tromey  <tromey@redhat.com>
+
+       * configure: Rebuild.
+       * configure.ac: Add missing case for Python 2.7.
+
+2010-07-29  DJ Delorie  <dj@redhat.com>
+
+       * rx-tdep.c (rx_analyze_prologue): Don't require branches to have
+       conditions.
+
+2010-07-29  Pedro Alves  <pedro@codesourcery.com>
+
+       * PROBLEMS: Remove mention of all problems.
+
+2010-07-28  Pedro Alves  <pedro@codesourcery.com>
+
+       PR build/11848
+       * configure.ac: Check for wresize.
+       * configure, config.in: Regenerate.
+       * tui/tui-win.c (make_visible_with_new_height): Wrap wresize call
+       with HAVE_WRESIZE.
+
+2010-07-28  Tom Tromey  <tromey@redhat.com>
+
+       PR python/11060:
+       * python/py-type.c (typy_legacy_template_argument): New function,
+       extracted from typy_template_argument.
+       (typy_template_argument): Use TYPE_TEMPLATE_ARGUMENT.  Return a
+       value when needed.
+
+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++
This page took 0.035575 seconds and 4 git commands to generate.