X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=64adfd275f7a5105a50d312199e118a41d74dea5;hb=671afef641d8cf0672e36d7afeb053c8d01c294e;hp=b07f1c5f478c011f9389360f3d97121f457ecafd;hpb=761269c8497f8f5e1cee4a4695ba48fb74fa86a3;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b07f1c5f47..64adfd275f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,839 @@ +2013-11-14 Joel Brobecker + + * language.h: Add "symtab.h" #include. + +2013-11-13 Doug Evans + + * breakpoint.c (bpstat_check_breakpoint_conditions): For thread + specific breakpoints, don't evaluate breakpoint condition if + different thread. + +2013-11-13 Keith Seitz + + PR c++/7935 + 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 + + * 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 + + * breakpoint.c (breakpoint_cond_eval): Fix and enhance comment. + +2013-11-13 Joel Brobecker + + * mi/mi-main.c (mi_cmd_list_features): Replace "info-ada-exceptions" + entry with "ada-exceptions". + +2013-11-13 Joel Brobecker + + * symfile.c (reread_symbols): Move call to set_objfile_per_bfd + after re-initialization of OBJFILE's obstack. + +2013-11-12 Doug Evans + + * 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 + + * objc-lang.c (uniquify_strings): Prevent invoking qsort with + NULL. + +2013-11-12 Doug Evans + + 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 + + * 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 + + * 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 + + 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 + + * 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 + + * config.in, configure: Rebuild. + * configure.ac (HAVE_TKILL_SYSCALL): Check for "syscall". + +2013-11-11 Joel Brobecker + + * remote-sim.c (gdbsim_detach): Break declaration into + shorter lines. No code change. + +2013-11-11 Edjunior Barbosa Machado + + * remote-sim.c (gdbsim_detach): Fix prototype. + +2013-11-08 Doug Evans + + * 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 + + * configure: Rebuild. + * configure.ac: Remove mentions of HAVE_MULTIPLE_PROC_FDS. + +2013-11-08 Tom Tromey + + * configure, config.in: Rebuild. + * configure.ac: Remove unused configury. + +2013-11-08 Tom Tromey + + * m32c-tdep.c: Use gdb_string.h. + +2013-11-08 Tom Tromey + + * configure, config.in: Rebuild. + * configure.ac: Remove all link.h-related checks. + +2013-11-08 Tom Tromey + + * 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 + + * 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 + + * 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) : Make argument const. + (target_detach): Likewise. + * windows-nat.c (windows_detach): Update. + +2013-11-07 Doug Evans + + 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 + + PR python/15747 + * python/py-cmd.c: Add COMPLETE_EXPRESSION constant. + +2013-11-07 Phil Muldoon + + * 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 + + * 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 + + * 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 + + * language.h (struct language_defn) : 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 + + * language.c (language_str): Return const char *. + (add_language): Add const to 'language_names' + * language.h (struct language_defn) : Add const. + (language_str: Update declaration. + +2013-11-06 Andreas Arnez + + * s390-linux-nat.c (s390_read_description): Consider the TE field + in the HWCAP for determining 'have_regset_tdb'. + +2013-11-06 Will Newton + + PR gdb/12866 + * dwarf2read.c (skip_one_die): Sanity check DW_AT_sibling + values. (read_partial_die): Likewise. + +2013-11-06 Muhammad Bilal + + 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 + + * Makefile.in (check-perf): New target. + +2013-11-05 Will Newton + + PR gdb/7670 + * arm-tdep.c (print_fpu_flags): Use filtered output routines. + (arm_print_float_info): Likewise. + +2013-11-04 Anton Blanchard + + * target.c (memory_xfer_partial): Cap write to 4KB. + +2013-11-01 Tiago Stürmer Daitx + + * breakpoint.c (create_longjmp_master_breakpoint): Allow libc + probe scan even when the arch provides no get_longjmp_target. + +2013-10-31 Pedro Alves + + * infrun.c (handle_syscall_event): Don't set or clear stop_signal. + (handle_inferior_event) : 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. + : 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 + + * breakpoint.c (update_watchpoint): Update error message and add + an additional error message. + +2013-10-30 Andreas Arnez + + * 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 + + * 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 + + * linux-tdep.c (linux_corefile_thread_callback): Preinitialize + siginfo_size. + +2013-10-29 Tom Tromey + + * utils.c (reg): Move undefinition... + * gdb_curses.h: ... here. Update comment to mention AIX. + +2013-10-29 Nicolas Blanc + + * 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 + + * 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 + + * 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 + + * breakpoint.c (watchpoints_triggered) + : Hardcode return 1. + +2013-10-28 Pedro Alves + + * infrun.c (process_event_stop_test): Remove unnecessary scoping + level and reindent. + +2013-10-28 Pedro Alves + + * 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 + + * infrun.c (handle_inferior_event): Move process_event_stop_test + goto label to the else branch of the ecs->random_signal check, + along with FRAME and GDBARCH re-fetching. + +2013-10-28 Pedro Alves + + * infrun.c (switch_back_to_stepped_thread): New function, factored + out from handle_inferior_event. + (handle_inferior_event): Adjust to call + switch_back_to_stepped_thread. Call it also at the tail of the + random signal handling, and return, instead of also handling + random signals just before the stepping tests. + +2013-10-28 Pedro Alves + + * infrun.c (clear_stop_func): Delete. + (handle_inferior_event): Don't call clear_stop_func and don't + clear 'ecs->random_signal'. + +2013-10-27 Yao Qi + + * varobj.c (struct varobj_root) : Rename to 'lang_ops'. + (varobj_create, varobj_get_path_expr): Update. + (varobj_value_has_mutated, varobj_update): Likewise. + (create_child_with_value, new_root_variable): Likewise. + (number_of_children, name_of_variable): Likewise. + (value_of_child, my_value_of_variable): Likewise. + (varobj_value_is_changeable_p): Likewise. + +2013-10-25 Yao Qi + + * language.h (struct lang_varobj_ops): Declare. + (struct language_defn) : New field. + * ada-lang.c: Include "varobj.h" + (defn ada_language_defn): Initialize field 'la_varobj_ops' with + ada_varobj_ops. + * c-lang.c: Include "varobj.h" + (c_language_defn): Initialize field 'la_varobj_ops' with + c_varobj_ops. + (cplus_language_defn): Initialize field 'la_varobj_ops' with + cplus_varobj_ops. + (asm_language_defn): Initialize field 'la_varobj_ops' with + default_varobj_ops. + (minimal_language_defn): Likewise. + * d-lang.c (d_language_defn): Likewise. + * f-lang.c (f_language_defn): Likewise. + * go-lang.c (go_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. + * language.c (unknown_language_defn): Likewise. + (auto_language_defn): Likewise. + (local_language_defn): Likewise. + * jv-lang.c (java_language_defn): Initialize field + 'la_varobj_ops' with java_varobj_ops. + * varobj.c (varobj_create): Update. + * varobj.h (default_varobj_ops): Define macro. + +2013-10-25 Pedro Alves + + * cp-valprint.c (cp_print_value_fields): No longer handle a NULL + static field value. + (cp_print_static_field): If the value is entirely optimized out, + print here. + * jv-valprint.c (java_print_value_fields): No longer handle a NULL + static field value. + * p-valprint.c (pascal_object_print_static_field): If the value is + entirely optimized out, print here. + * valops.c (do_search_struct_field) + (value_struct_elt_for_reference): No longer handle a NULL static + field value. + * value.c (value_static_field): Return an optimized out value + instead of NULL. + +2013-10-25 Yao Qi + + * remote.c (remote_traceframe_info): Return early if + traceframe is not selected. + +2013-10-25 Yao Qi + + * tracepoint.c (traceframe_fun): Remove. + (traceframe_sal): Remove. + (set_traceframe_context): Add local variables. + +2013-10-25 Joel Brobecker + + * varobj.h (struct lang_varobj_ops): Remove spaces between '*' + and parameter name. + +2013-10-24 Maciej W. Rozycki + + * linux-tdep.c (linux_corefile_thread_callback): Propagate any + failure from register information collection. + +2013-10-24 Maciej W. Rozycki + + * linux-tdep.c (linux_corefile_thread_data): Remove `num_notes' + member. + (linux_corefile_thread_callback): Update accordingly. + (linux_make_corefile_notes): Likewise. + +2013-10-24 Pedro Alves + + * NEWS (New options): Mention set/show startup-with-shell. + * config/alpha/nm-osf3.h (START_INFERIOR_TRAPS_EXPECTED): Set to 2 + instead of 3. + * fork-child.c (fork_inferior, startup_inferior): Handle 'set + startup-with-shell'. + (show_startup_with_shell): New function. + (_initialize_fork_child): Register the set/show startup-with-shell + commands. + * inf-ptrace.c (inf_ptrace_create_inferior): Remove comment. + * inf-ttrace.c (inf_ttrace_him): Remove comment. + * procfs.c (procfs_init_inferior): Remove comment. + * infcmd.c (startup_with_shell): New global. + * inferior.h (startup_with_shell): Declare global. + (STARTUP_WITH_SHELL): Delete. + (START_INFERIOR_TRAPS_EXPECTED): Set to 1 by default instead of 2. + +2013-10-23 Pedro Alves + + * common/gdb_signals.h (gdb_signal_to_symbol_string): Declare. + * common/signals.c: Include "gdb_assert.h". + (signals): New field 'symbol'. + (SET): Use the 'symbol' parameter. + (gdb_signal_to_symbol_string): New function. + * infrun.c (handle_inferior_event) : In debug + output, print the random signal enum as string in addition to its + number. + * target/waitstatus.c (target_waitstatus_to_string): Print the + signal's enum value as string instead of the (POSIX) signal name. + +2013-10-23 Gary Benson + + PR 16013 + * common/linux-osdata.c (command_from_pid): Reduced size of cmd + from 32 to 18. Adjusted fscanf format string accordingly. + (Avoids leaving cmd unterminated.) + (print_sockets): Do not parse tlen, inode, sl, timeout, txq, rxq, + trun, retn or extra. (Avoids leaving extra unterminated.) Check + that local_address and remote_address will not overflow. + (linux_xfer_osdata_modules): Parse lines using strtok to avoid + leaving dependencies unterminated. Parse size as "%u" to match + definition. + +2013-10-22 Pedro Alves + + * infrun.c (handle_inferior_event) : Don't clear or + set ecs->random signal. + +2013-10-22 Pedro Alves + + * infrun.c (keep_going): Update comments. + +2013-10-22 Pedro Alves + + * remote.c (remote_parse_stop_reply) <'T'/'S'/'X' replies>: Map + invalid signal numbers to GDB_SIGNAL_UNKNOWN. + +2013-10-22 Pedro Alves + + * include/gdb/signals.def (TARGET_EXC_BAD_ACCESS): Rename to + GDB_EXC_BAD_ACCESS. + (TARGET_EXC_BAD_INSTRUCTION): Rename to GDB_EXC_BAD_INSTRUCTION. + (TARGET_EXC_ARITHMETIC): Rename to GDB_EXC_ARITHMETIC. + (TARGET_EXC_EMULATION): Rename to GDB_EXC_EMULATION. + (TARGET_EXC_SOFTWARE): Rename to GDB_EXC_SOFTWARE. + (TARGET_EXC_BREAKPOINT): Rename to GDB_EXC_BREAKPOINT. + (GDB_SIGNAL_LAST): Change description string. + * common/signals.c (gdb_signal_from_host, do_gdb_signal_to_host): + Adjust to signal renaming. + * darwin-nat.c (darwin_decode_message): Likewise. + +2013-10-22 Jose E. Marchesi + + * MAINTAINERS (Write After Approval): Add myself to the list. + +2013-10-18 Andrew Burgess + + * breakpoint.c (update_watchpoint): If hardware watchpoints are + forced off, downgrade them to software watchpoints if possible, + and error out if not possible. + (watch_command_1): Move watchpoint type selection closer to + watchpoint creation, and extend the comments. + +2013-10-18 Pedro Alves + + PR gdb/16062 + * infrun.c (handle_inferior_event): Keep going if we got a random + signal we should not stop for, instead of falling through to the + step tests. + +2013-10-18 Yao Qi + + * c-varobj.c (cplus_number_of_children): Fix indentation. + +2013-10-17 Tom Tromey + + PR gdb/15995: + * printcmd.c (printcmd): Call gdb_flush. + +2013-10-17 Tom Tromey + + * elfread.c (struct elfinfo) : Remove. + (elf_locate_sections): Update. + +2013-10-17 Yao Qi + + * Makefile.in (HFILES_NO_SRCDIR): Remove ada-varobj.h. + * ada-varobj.c: Remove the include of ada-varobj.h. + (ada_varobj_get_number_of_children): Declare. + (ada_varobj_get_name_of_child): Make it static. + (ada_varobj_get_path_expr_of_child): Likewise. + (ada_varobj_get_value_of_child): Likewise. + (ada_varobj_get_type_of_child): Likewise. + (ada_varobj_get_value_of_array_variable): Likewise. + * ada-varobj.h: Remove. + +2013-10-17 Yao Qi + + * Makefile.in (SFILES): Add c-varobj.c and jv-varobj.c. + (COMMON_OBS): Add c-varobj.o and jv-varobj.o. + * ada-varobj.c: Include "varobj.h". + (ada_number_of_children): New. Moved from varobj.c. + (ada_name_of_variable, ada_name_of_child): Likewise. + (ada_path_expr_of_child, ada_value_of_child): Likewise. + (ada_type_of_child, ada_value_of_variable): Likewise. + (ada_value_is_changeable_p, ada_value_has_mutated): Likewise. + (ada_varobj_ops): New. + * c-varobj.c, jv-varobj.c: New file. Moved from varobj.c. + * gdbtypes.c (get_target_type): New. Moved from varobj.c. + * gdbtypes.h (get_target_type): Declare. + * varobj.c: Remove the inclusion of "ada-varobj.h" and + "ada-lang.h". + (ANONYMOUS_STRUCT_NAME): Move it to c-varobj.c. + (ANONYMOUS_UNION_NAME): Likewise. + (get_type, get_value_type, get_target_type): Remove declarations. + (value_get_print_value, varobj_value_get_print_value): Likewise. + (c_number_of_children, c_name_of_variable): Likewise. + (c_name_of_child, c_path_expr_of_child): Likewise. + (c_value_of_child, c_type_of_child): Likewise. + (c_value_of_variable, cplus_number_of_children): Likewise. + (cplus_class_num_children, cplus_name_of_variable): Likewise. + (cplus_name_of_child, cplus_path_expr_of_child): Likewise. + (cplus_value_of_child, cplus_type_of_child): Likewise. + (cplus_value_of_variable, java_number_of_children): Likewise. + (java_name_of_variable, java_name_of_child): Likewise. + (java_path_expr_of_child, java_value_of_child): Likewise. + (java_type_of_child, java_value_of_variable): Likewise. + (ada_number_of_children, ada_name_of_variable): Likewise. + (ada_name_of_child, ada_path_expr_of_child): Likewise. + (ada_value_of_child, ada_type_of_child): Likewise. + (ada_value_of_variable, ada_value_is_changeable_p): Likewise. + (ada_value_has_mutated): Likewise. + (struct language_specific): Move it to varobj.h. + (CPLUS_FAKE_CHILD): Move it to varobj.h. + (restrict_range): Rename it varobj_restrict_range. Make it extern. + Callers update. + (get_path_expr_parent): Rename it to varobj_get_path_expr_parent. + Make it extern. + (is_anonymous_child): Move it to c-varobj.c and rename to + varobj_is_anonymous_child. Caller update. + (get_type): Move it to c-varobj.c. + (get_value_type): Rename it varobj_get_value_type. Make it + extern. + (get_target_type): Move it gdbtypes.c. + (varobj_formatted_print_options): New function. + (value_get_print_value): Rename it to + varobj_value_get_print_value and make it extern. + (varobj_value_is_changeable_p): Make it extern. + (adjust_value_for_child_access): Move it to c-varobj.c. + (default_value_is_changeable_p): Rename it to + varobj_default_value_is_changeable_p. Make it extern. + (c_number_of_children, c_name_of_variable): Move it to c-varobj.c + (c_name_of_child, c_path_expr_of_child): Likewise. + (c_value_of_child, c_type_of_child): Likewise. + (c_value_of_variable, cplus_number_of_children): Likewise. + (cplus_class_num_children, cplus_name_of_variable): Likewise. + (cplus_name_of_child, cplus_path_expr_of_child): Likewise. + (cplus_value_of_child, cplus_type_of_child): Likewise. + (cplus_value_of_variable): Likewise. + (java_number_of_children, java_name_of_variable): Move it to jv-varobj.c. + (java_name_of_child, java_path_expr_of_child): Likewise. + (java_value_of_child, java_type_of_child): Likewise. + (java_value_of_variable): Likewise. + (ada_number_of_children, ada_name_of_variable): Move it to ada-varobj.c. + (ada_name_of_child, ada_path_expr_of_child): Likewise. + (ada_value_of_child, ada_type_of_child): Likewise. + (ada_value_of_variable, ada_value_is_changeable_p): Likewise. + (ada_value_has_mutated): Likewise. + * varobj.h (CPLUS_FAKE_CHILD): New macro, moved from varobj.c. + (struct lang_varobj_ops): New. Renamed by 'struct language_specific'. + (c_varobj_ops, cplus_varobj_ops): Declare. + (java_varobj_ops, ada_varobj_ops): Declare. + (varobj_default_value_is_changeable_p): Declare. + (varobj_value_is_changeable_p): Declare. + (varobj_get_value_type, varobj_is_anonymous_child): Declare. + (varobj_get_path_expr_parent): Declare. + (varobj_value_get_print_value): Declare. + (varobj_formatted_print_options): Declare. + (varobj_restrict_range): Declare. + +2013-10-17 Luis Machado + + * target/waitstatus.h (target_waitkind): Remove spurious + character from the comments. + +2013-10-17 Joel Brobecker + + * gdbarch.sh (get_longjmp_target): Add method documentation. + * gdbarch.h: Regenerate. + +2013-10-16 Tom Tromey + + * dbxread.c (read_dbx_symtab) : Remove unused + label. + +2013-10-16 Luis Machado + + * gcore.in: Call GDB using the full path to the gcore script. + Error out if the GDB binary is not found. + +2013-10-16 Sergio Durigan Junior + + PR gdb/16014 + * dwarf2read.c (dw2_get_real_path): Remove unnecessary call to + sizeof. + +2013-10-16 Sergio Durigan Junior + + PR gdb/16042 + * target.c (target_disable_btrace): Fix invalid return value for + void function. + (target_teardown_btrace): Likewise. + +2013-10-14 Yao Qi + + * varobj.c (struct varobj): Move most of the fields to + varobj.h. + (struct varobj_dynamic): New struct. + (varobj_get_display_hint) [HAVE_PYTHON]: Adjust. + (varobj_has_more): Likewise. + (dynamic_varobj_has_child_method): Likewise. + (update_dynamic_varobj_children): Likewise. + (varobj_get_num_children): Likewise. + (varobj_list_children, varobj_pretty_printed_p): Likewise. + (install_new_value_visualizer): Likewise. + (install_new_value_visualizer, install_new_value): Likewise. + (varobj_update, new_variable, free_variable): Likewise. + (my_value_of_variable, value_get_print_value): Likewise. + (install_visualizer): Change the type of parameter 'var' to + 'struct varobjd_dynamic *'. Callers update. + * varobj.h (struct varobj): Moved from varobj.c. + (struct varobj) : New field. + +2013-10-13 Sandra Loosemore + + * nios2-tdep.c (nios2_reg_names): Use "sstatus" rather than "ba" + as the preferred name of r30. + * nios2-linux-tdep.c (reg_offsets): Likewise. + * features/nios2-cpu.xml: Likewise. + * features/nios2-linux.c: Regenerated. + * features/nios2.c: Regenerated. + * regformats/nios2-linux.dat: Regenerated. + +2013-10-13 Jan Kratochvil + + Canonicalize directories for EXEC_FILENAME. + * exec.c (exec_file_attach): Use gdb_realpath_keepfile for + exec_filename. + * utils.c (gdb_realpath_keepfile): New function. + * utils.h (gdb_realpath_keepfile): New declaration. + +2013-10-11 Doug Evans + + * Makefile.in (GDBFLAGS): New variable. + (run): New rule. + +2013-10-11 Joel Brobecker + + * NEWS: Add entry documenting the new "-catch-assert" and + "-catch-exception" GDB/MI commands. + +2013-10-11 Joel Brobecker + + * breakpoint.h (init_ada_exception_breakpoint): Add parameter + "enabled". + * breakpoint.c (init_ada_exception_breakpoint): Add parameter + "enabled". Set B->ENABLE_STATE accordingly. + * ada-lang.h (ada_exception_catchpoint_kind): Move here from + ada-lang.c. + (create_ada_exception_catchpoint): Add declaration. + * ada-lang.c (ada_exception_catchpoint_kind): Move to ada-lang.h. + (create_ada_exception_catchpoint): Make non-static. Add new + parameter "disabled". Use it in call to + init_ada_exception_breakpoint. + (catch_ada_exception_command): Add parameter "enabled" in call + to create_ada_exception_catchpoint. + (catch_assert_command): Likewise. + + * mi/mi-cmds.h (mi_cmd_catch_assert, mi_cmd_catch_exception): + Add declarations. + * mi/mi-cmds.c (mi_cmds): Add the "catch-assert" and + "catch-exception" commands. + * mi/mi-cmd-catch.c: Add #include "ada-lang.h". + (mi_cmd_catch_assert, mi_cmd_catch_exception): New functions. + 2013-10-11 Joel Brobecker * ada-lang.c (enum ada_exception_catchpoint_kind): Renames @@ -421,7 +1257,6 @@ 2013-10-02 Phil Muldoon PR python/15579 - * python/python.c: Document gdb.execute command in Python help. 2013-10-02 Phil Muldoon @@ -1593,7 +2428,6 @@ 2013-08-30 Phil Muldoon PR python/15461 - * python/py-arch.c (ARCHPY_REQUIRE_VALID): New macro. (archpy_name): Check for valid architecture. (archpy_disassemble): Ditto.