PR c++/7539
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 26f749cefa512f975c1f6beeb26ae9a9e5409d60..8351b728e0b8befad5433e1f78435aee2c0a06e5 100644 (file)
@@ -1,3 +1,418 @@
+2013-11-13  Keith Seitz  <keiths@redhat.com>
+
+       PR c++/7539
+       PR c++/10541
+       * cp-support.c (insepct_type): Add support for substituting
+       namespace aliases, too.
+       * dwarf2read.c (scan_partial_symbols): Add a partial symbol
+       for DW_TAG_imported_declaration.
+       (add_partial_symbol): Likewise.
+       (process_die): Handle namespace aliases with
+       read_namespace_alias.
+       (die_needs_namespace): Add DW_TAG_imported_declaration.
+       (read_namespace_alias): New function.
+       (load_partial_dies): Load DW_TAG_imported_declaration, too.
+       (new_symbol_full): Handle DW_TAG_imported_declaration.
+
+2013-11-13  Keith Seitz  <keiths@redhat.com>
+
+       * p-exp.y (uptok): Make first parameter const.
+       (yylex): Make `tokstart' and `tokptr' const.
+       Don't copy the lexer input to a temporary buffer.
+       Make `p' const.
+       Remove const workaround for parse_escape.
+       Create a temporary buffer for a convenience variable instead
+       of doing in-place modification of the input.
+       If a match is found with a different case from the input,
+       do not change the input at all.
+       Use `tmp' to construct the resultant stoken instead of
+       `tokstart'.
+
+2013-11-13  Doug Evans  <xdje42@gmail.com>
+
+       * breakpoint.c (breakpoint_cond_eval): Fix and enhance comment.
+
+2013-11-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * mi/mi-main.c (mi_cmd_list_features): Replace "info-ada-exceptions"
+       entry with "ada-exceptions".
+
+2013-11-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * symfile.c (reread_symbols): Move call to set_objfile_per_bfd
+       after re-initialization of OBJFILE's obstack.
+
+2013-11-12  Doug Evans  <xdje42@gmail.com>
+
+       * breakpoint.c (bpstat_check_breakpoint_conditions): Assert
+       bs->stop != 0 on entry.  Update function comment.  Simplify early
+       exit for frame mismatch.  Reindent rest of function.
+
+2013-11-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * objc-lang.c (uniquify_strings): Prevent invoking qsort with
+       NULL.
+
+2013-11-12  Doug Evans  <dje@google.com>
+
+       Work around gold/15646.
+       * dwarf2read.c (read_index_from_section): Update comment.
+       (struct dw2_symtab_iterator): New member global_seen.
+       (dw2_symtab_iter_init): Initialize it.
+       (dw2_symtab_iter_next): Skip duplicate global symbols.
+       (dw2_expand_symtabs_matching): Ditto.
+
+2013-11-12  Joel Brobecker  <brobecker@adacore.com>
+
+       * mi/mi-cmds.h (mi_cmd_info_ada_exceptions): Add declaration.
+       * mi/mi-cmds.c (mi_cmds): Add entry for -info-ada-exceptions
+       command.
+       * mi/mi-cmd-info.c: #include "ada-lang.c" and "arch-utils.c".
+       (mi_cmd_info_ada_exceptions): New function.
+       * mi/mi-main.c (mi_cmd_list_features): Add "info-ada-exceptions".
+
+2013-11-12  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.h: #include "vec.h".
+       (struct ada_exc_info): New.
+       (ada_exc_info): New typedef.
+       (DEF_VEC_O(ada_exc_info)): New vector.
+       (ada_exceptions_list): Add declaration.
+       * ada-lang.c (ada_is_exception_sym)
+       (ada_is_non_standard_exception_sym, compare_ada_exception_info)
+       (sort_remove_dups_ada_exceptions_list)
+       (ada_exc_search_name_matches, ada_add_standard_exceptions)
+       (ada_add_exceptions_from_frame, ada_add_global_exceptions)
+       (ada_exceptions_list_1, ada_exceptions_list)
+       (info_exceptions_command): New function.
+       (_initialize_ada_language): Add "info exception" command.
+
+2013-11-11  Phil Muldoon  <pmuldoon@redhat.com>
+
+       PR python/15629
+       * NEWS: Add linetable feature.
+       * Makefile.in (SUBDIR_PYTHON_OBS): Add py-linetable entries.
+       * python/py-linetable.c: New file.
+       * python/py-symtab.c (stpy_get_linetable): New function.
+       * python/python-internal.h (symtab_to_linetable_object): Declare.
+       (gdbpy_initialize_linetable): Ditto.
+       * python/python.c (_initialize_python): Call
+       gdbpy_initialize_linetable.
+
+2013-11-11  Joel Brobecker  <brobecker@adacore.com>
+
+       * ada-lang.c (create_ada_exception_catchpoint): Enhance
+       the documentation of fields "except_string" and "condition".
+       * mi/mi-cmd-catch.c (mi_cmd_catch_assert): Reallocate
+       CONDITION on the heap before passing it to
+       create_ada_exception_catchpoint.
+       (mi_cmd_catch_exception): Likewise for EXCEPTION_NAME and
+       CONDITION.
+
+2013-11-11  Tom Tromey  <tromey@redhat.com>
+
+       * config.in, configure: Rebuild.
+       * configure.ac (HAVE_TKILL_SYSCALL): Check for "syscall".
+
+2013-11-11  Joel Brobecker  <brobecker@adacore.com>
+
+       * remote-sim.c (gdbsim_detach): Break declaration into
+       shorter lines.  No code change.
+
+2013-11-11  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
+
+       * remote-sim.c (gdbsim_detach): Fix prototype.
+
+2013-11-08  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dwarf2_read_debug): Change to unsigned int.
+       (create_debug_types_hash_table): Only print debugging messages for
+       each TU if dwarf2-read >= 2.
+       (process_queue): Ditto.
+       (_initialize_dwarf2_read): Make "set debug dwarf2-read" a zuinteger.
+       Update doc string.
+
+2013-11-08  Tom Tromey  <tromey@redhat.com>
+
+       * configure: Rebuild.
+       * configure.ac: Remove mentions of HAVE_MULTIPLE_PROC_FDS.
+
+2013-11-08  Tom Tromey  <tromey@redhat.com>
+
+       * configure, config.in: Rebuild.
+       * configure.ac: Remove unused configury.
+
+2013-11-08  Tom Tromey  <tromey@redhat.com>
+
+       * m32c-tdep.c: Use gdb_string.h.
+
+2013-11-08  Tom Tromey  <tromey@redhat.com>
+
+       * configure, config.in: Rebuild.
+       * configure.ac: Remove all link.h-related checks.
+
+2013-11-08  Tom Tromey  <tromey@redhat.com>
+
+       * acinclude.m4: Include common.m4.
+       * common/common.m4: New file.
+       * configure, config.in: Rebuild.
+       * configure.ac: Use GDB_AC_COMMON.
+
+2013-11-08  Doug Evans  <dje@google.com>
+
+       * NEWS: Mention that "set debug symtab-create" now accepts a
+       verbosity level.
+       * buildsym.c (end_symtab_from_static_block): Call set_symtab_primary
+       to set the symtab's primary flag.
+       * jit.c (finalize_symtab): Ditto.
+       * mdebugread.c (psymtab_to_symtab_1): Ditto.
+       * symfile.c (allocate_symtab): Only print debugging messages for
+       symtab_create_debug levels 2 and higher.
+       * symtab.c (symtab_create_debug): Change type to unsigned int.
+       (set_symtab_primary): New function.
+       (_initialize_symtab): Change "set debug symtab-create" to a
+       zuinteger option.
+       * symtab.h (set_symtab_primary): Declare.
+       (symtab_create_debug): Update decl.
+
+2013-11-08  Tom Tromey  <tromey@redhat.com>
+
+       * aix-thread.c (aix_thread_detach): Update.
+       * corelow.c (core_detach): Update.
+       * darwin-nat.c (darwin_detach): Update.
+       * dec-thread.c (dec_thread_detach): Update.
+       * gnu-nat.c (gnu_detach): Update.
+       * go32-nat.c (go32_detach): Update.
+       * inf-ptrace.c (inf_ptrace_detach): Update.
+       * inf-ttrace.c (inf_ttrace_detach): Update.
+       * linux-fork.c (linux_fork_detach): Update.
+       * linux-fork.h (linux_fork_detach): Update.
+       * linux-nat.c (linux_nat_detach): Update.  Introduce "tem"
+       local for const-correctness.
+       * linux-thread-db.c (thread_db_detach): Update.
+       * monitor.c (monitor_detach): Update.
+       * nto-procfs.c (procfs_detach): Update.
+       * procfs.c (procfs_detach): Update.
+       * record.c (record_detach): Update.
+       * record.h (record_detach): Update.
+       * remote-m32r-sdi.c (m32r_detach): Update.
+       * remote-mips.c (mips_detach): Update.
+       * remote-sim.c (gdbsim_detach): Update.
+       * remote.c (remote_detach_1, remote_detach)
+       (extended_remote_detach): Update.
+       * sol-thread.c (sol_thread_detach): Update.
+       * target.c (target_detach): Make "args" const.
+       (init_dummy_target): Update.
+       * target.h (struct target_ops) <to_detach>: Make argument const.
+       (target_detach): Likewise.
+       * windows-nat.c (windows_detach): Update.
+
+2013-11-07  Doug Evans  <dje@google.com>
+
+       PR 11786
+       *  solib-svr4.c (svr4_exec_displacement): Ignore filesz, memsz, flags
+       and align fields for PT_GNU_RELRO segments.
+
+2013-11-07  Phil Muldoon  <pmuldoon@redhat.com>
+
+        PR python/15747
+        * python/py-cmd.c: Add COMPLETE_EXPRESSION constant.
+
+2013-11-07  Phil Muldoon  <pmuldoon@redhat.com>
+
+       * NEWS: Document Python temporary breakpoint support.
+       * python/py-breakpoint.c (bppy_get_temporary): New function.
+       (bppy_init): New keyword: temporary. Parse it and set breakpoint
+       to temporary if True.
+
+2013-11-07  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * sparc-tdep.c (sparc_analyze_control_transfer): Assertion
+       removed to allow analyzing unconditional branch instructions
+       with PC-relative offsets of zero.
+
+2013-11-07  Yao Qi  <yao@codesourcery.com>
+
+       * mi/mi-cmd-var.c: Include "language.h".
+       (mi_cmd_var_info_expression): Get language name from
+       language_defn.
+       * varobj.c (varobj_language_string): Remove.
+       (variable_language): Remove declaration.
+       (languages): Remove.
+       (varobj_get_language): Change the type of return value.
+       (variable_language): Remove.
+       * varobj.h (enum varobj_languages): Remove.
+       (varobj_language_string): Remove declaration.
+       (varobj_get_language): Update declaration.
+
+2013-11-07  Yao Qi  <yao@codesourcery.com>
+
+       * language.h (struct language_defn) <la_natural_name>: New
+       field.
+       * ada-lang.c (ada_language_defn): Initialize field
+       'la_natural_name'.
+       * c-lang.c (c_language_defn): Likewise.
+       (cplus_language_defn, asm_language_defn): Likewise.
+       * d-lang.c (d_language_defn): Likewise.
+       * f-lang.c (f_language_defn): Likewise.
+       * go-lang.c (go_language_defn): Likewise.
+       * jv-lang.c (java_language_defn): Likewise.
+       * language.c (unknown_language_defn ): Likewise.
+       (auto_language_defn): Likewise.
+       * m2-lang.c (m2_language_defn): Likewise.
+       * objc-lang.c (objc_language_defn): Likewise.
+       * opencl-lang.c (opencl_language_defn): Likewise.
+       * p-lang.c (pascal_language_defn): Likewise.
+
+2013-11-07  Yao Qi  <yao@codesourcery.com>
+
+       * language.c (language_str): Return const char *.
+       (add_language): Add const to 'language_names'
+       * language.h (struct language_defn) <la_name>: Add const.
+       (language_str: Update declaration.
+
+2013-11-06  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * s390-linux-nat.c (s390_read_description): Consider the TE field
+       in the HWCAP for determining 'have_regset_tdb'.
+
+2013-11-06  Will Newton  <will.newton@linaro.org>
+
+       PR gdb/12866
+       * dwarf2read.c (skip_one_die): Sanity check DW_AT_sibling
+       values.  (read_partial_die): Likewise.
+
+2013-11-06  Muhammad Bilal  <mbilal@codesourcery.com>
+
+       PR cli/16122
+       * top.c (command_line_input): Unify interactivity tests to use
+       input_from_terminal_p.
+       * event-top.c (command_line_handler): Likewise.
+
+2013-11-06  Yao Qi  <yao@codesourcery.com>
+
+       * Makefile.in (check-perf): New target.
+
+2013-11-05  Will Newton  <will.newton@linaro.org>
+
+       PR gdb/7670
+       * arm-tdep.c (print_fpu_flags): Use filtered output routines.
+       (arm_print_float_info): Likewise.
+
+2013-11-04  Anton Blanchard  <anton@samba.org>
+
+       * target.c (memory_xfer_partial): Cap write to 4KB.
+
+2013-11-01  Tiago Stürmer Daitx  <tdaitx@linux.vnet.ibm.com>
+
+       * breakpoint.c (create_longjmp_master_breakpoint): Allow libc
+       probe scan even when the arch provides no get_longjmp_target.
+
+2013-10-31  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (handle_syscall_event): Don't set or clear stop_signal.
+       (handle_inferior_event) <TARGET_WAITKIND_FORKED,
+       TARGET_WAITKIND_VFORKED>: Don't set stop_signal to
+       GDB_SIGNAL_TRAP, or clear it.  Pass GDB_SIGNAL_0 to
+       bpstat_explains signal, instead of GDB_SIGNAL_TRAP.
+       <bpstat handling>: If the bpstat chain wants the signal to be
+       hidden, then set stop_signal to GDB_SIGNAL_0 instead of
+       GDB_SIGNAL_TRAP.
+
+2013-10-31  Andrew Burgess  <aburgess@broadcom.com>
+
+       * breakpoint.c (update_watchpoint): Update error message and add
+       an additional error message.
+
+2013-10-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * s390-tdep.h: Rename to...
+       * s390-linux-tdep.h: ...here.
+       * s390-tdep.c: Rename to...
+       * s390-linux-tdep.c: ...here.  Adjust #include.
+       * s390-nat.c: Rename to...
+       * s390-linux-nat.c: ...here.  Adjust #include.
+       * config/s390/s390.mh: Rename to...
+       * config/s390/linux.mh: ...here.  Reflect rename s390-nat.o ->
+       s390-linux-nat.o.
+       * configure.host: Reflect host rename "s390" -> "linux".
+       * configure.tgt: Reflect rename s390-tdep.o -> s390-linux-tdep.o.
+       * Makefile.in (ALL_TARGET_OBS): Likewise.
+       (HFILES_NO_SRCDIR): Reflect rename s390-tdep.h ->
+       s390-linux-tdep.h.
+       (ALLDEPFILES): Reflect rename of .c files.
+
+2013-10-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * s390-nat.c: Whitespace cleanup.
+       * s390-tdep.c: Likewise.
+       * s390-tdep.h: Remove empty line at end of file.
+
+2013-10-30  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * linux-tdep.c (linux_corefile_thread_callback): Preinitialize
+       siginfo_size.
+
+2013-10-29  Tom Tromey  <tromey@redhat.com>
+
+       * utils.c (reg): Move undefinition...
+       * gdb_curses.h: ... here.  Update comment to mention AIX.
+
+2013-10-29  Nicolas Blanc  <nicolas.blanc@intel.com>
+
+       * exec.h (add_target_sections_of_objfile): New declaration.
+       * exec.c (add_target_sections_of_objfile): New function.
+       * symfile.c (add_symbol_file_command): Update current target sections.
+       (remove_symbol_file_command): New command.
+       (symfile_free_objfile): New function.
+       (_initialize_symfile): Register observer for free_objfile events.
+       * NEWS: Add description of the remove-symbol-file command.
+       * breakpoint.c (disable_breakpoints_in_freed_objfile): New function.
+       * objfiles.c (free_objfile): Notify free_objfile.
+       (is_addr_in_objfile): New function.
+       * objfiles.h (is_addr_in_objfile): New declaration.
+       * printcmd.c (clear_dangling_display_expressions): Act upon free_objfile
+       events instead of solib_unloaded events.
+       (_initialize_printcmd): Register observer for free_objfile instead
+       of solib_unloaded notifications.
+       * solib.c (remove_user_added_objfile): New function.
+       (_initialize_symfile): Add remove-symbol-file.
+
+2013-10-29  Andrew Burgess  <aburgess@broadcom.com>
+
+       * infcmd.c (default_print_one_register_info): Use val_print to
+       print all values even optimized out or unavailable ones.  Don't
+       try to print a raw form of optimized out or unavailable values.
+
+2013-10-29  Yao Qi  <yao@codesourcery.com>
+
+       * auto-load.c (auto_load_pspace_data_cleanup): Get data from
+       parameter 'arg' instead of from program_space_data.
+       * objfiles.c (objfiles_pspace_data_cleanup): Likewise.
+       * solib-darwin.c (darwin_pspace_data_cleanup): Likewise.
+       * solib-dsbt.c (dsbt_pspace_data_cleanup): Likewise.
+       * solib-svr4.c (svr4_pspace_data_cleanup): Likewise.
+       * inflow.c (inflow_inferior_data_cleanup): Get data from
+       parameter 'arg' instead of inferior_data.
+       * registry.h: Add comments.
+
+2013-10-28  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c (watchpoints_triggered)
+       <!target_stopped_data_address>: Hardcode return 1.
+
+2013-10-28  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (process_event_stop_test): Remove unnecessary scoping
+       level and reindent.
+
+2013-10-28  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (process_event_stop_test): New function, factored out
+       from handle_inferior_event.
+       (handle_inferior_event): 'process_event_stop_test' is now a
+       function instead of a goto label -- adjust.
+
 2013-10-28  Pedro Alves  <palves@redhat.com>
 
        * infrun.c (handle_inferior_event): Move process_event_stop_test
 2013-10-02  Phil Muldoon  <pmuldoon@redhat.com>
 
        PR python/15579
-
        * python/python.c: Document gdb.execute command in Python help.
 
 2013-10-02  Phil Muldoon  <pmuldoon@redhat.com>
 2013-08-30  Phil Muldoon  <pmuldoon@redhat.com>
 
        PR python/15461
-
        * python/py-arch.c (ARCHPY_REQUIRE_VALID): New macro.
        (archpy_name): Check for valid architecture.
        (archpy_disassemble): Ditto.
This page took 0.03293 seconds and 4 git commands to generate.