X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=b6c612bd0b2039b30c6726f7417c9cbf7bdbab07;hb=5d762de01cc537cec47d3c7bbae0424a33b33b04;hp=4d068ee86ca273cb1c0ac45f4233d5ed2634f2a1;hpb=8a61382623e271fe2df0fe8f7558ea545db8b561;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4d068ee86c..b6c612bd0b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,418 @@ +2018-11-09 Hafiz Abid Qadeer + + * configure: Regenerate. + +2018-11-09 Tom de Vries + + * symtab.c (symbol_set_names): Call symbol_find_demangled_name + unconditionally, to set the language of the symbol. Manage freeing + returned pointer using gdb::unique_xmalloc_ptr. + +2018-11-08 Tom Tromey + + * record.c (require_record_target): Upper-case "". + +2018-11-08 Tom Tromey + + * python/lib/gdb/command/pretty_printers.py + (InfoPrettyPrinter.invoke): Don't indent "objfile" heading. + +2018-11-08 Tom Tromey + + PR gdb/23555: + PR gdb/23838: + * target.h (target_supports_terminal_ours): Return bool. + * target.c (target_supports_terminal_ours): Handle case where + current_top_target returns nullptr. Return bool. + +2018-11-08 Joel Brobecker + + * aarch64-tdep.c (aapcs_is_vfp_call_or_return_candidate_1): + return the correct count for potential HFAs. + +2018-11-08 Jan Beulich + + * i387-tdep.c (i387_supply_xsave): Split handling of + X86_XSTATE_ZMM_H and X86_XSTATE_ZMM. + (i387_collect_xsave): Likewise. + +2018-11-08 Andrew Burgess + + * riscv-tdep.c (riscv_insn::decode): Update header comment. + (riscv_frame_this_id): Catch errors thrown while building the + frame cache, leave the frame id as the default, which is the outer + frame id. + +2018-11-07 Joel Brobecker + + * ada-lang.c (read_atcb): Only set task_info->called_task if + task_info->state == Entry_Caller_Sleep. + (print_ada_task_info): Do not check task_info->state before + checking task_info->called_task. + (info_task): Likewise. + +2018-11-07 Joel Brobecker + + * ada-tasks.c (read_atcb): Clear task_info before computing + the value of each of its fields. + +2018-11-07 Andrew Burgess + + * dwarf2read.c (dwarf2_init_integer_type): Check for name being + NULL before dereferencing it. + +2018-11-06 Tom de Vries + + * linux-tdep.c (linux_vsyscall_range_raw): Use xmalloc to allocate + program headers. + +2018-11-06 Max Filippov + + * configure.tgt (xtensa*-*-linux*): Change to xtensa*-*-*linux* + so that it applies to uclinux as well. + +2018-11-06 Marius Muench + + * arm-tdep.c (arm_scan_prologue): Don't dereference FP reg + when on AAPCS. + +2018-11-06 John Baldwin + + * riscv-fbsd-nat.c (getregs_supplies): Return true for + RISCV_CSR_SSTATUS_REGNUM. + +2018-11-04 Philippe Waroquiers + + * source.c (open_source_file): Fix leak by transferring the + current s->fullname to the unique_xmalloc_ptr fullname given + to find_and_open_source. + +2018-11-04 Tom Tromey + + * varobj.c (install_default_visualizer): Update. + * python/python-internal.h (gdbpy_get_varobj_pretty_printer): + Return gdbpy_ref. + * python/py-prettyprint.c (search_pp_list): Return gdbpy_ref. + (find_pretty_printer_from_progspace) + (find_pretty_printer_from_gdb, find_pretty_printer) + (gdbpy_get_varobj_pretty_printer): Return gdbpy_ref. + (gdbpy_get_varobj_pretty_printer, gdbpy_default_visualizer): + Update. + +2018-11-04 Tom Tromey + + * python/python.c (gdbpy_parameter_value): Update. + * python/python-internal.h (python_string_to_unicode) + (python_string_to_target_python_string) + (host_string_to_python_string): Return gdbpy_ref. + * python/py-utils.c (python_string_to_unicode) + (unicode_to_encoded_python_string) + (unicode_to_target_python_string) + (python_string_to_target_string) + (python_string_to_target_python_string): Return gdbpy_ref. + (python_string_to_host_string): Update. + (host_string_to_python_string): Return gdbpy_ref. + * python/py-symtab.c (stpy_get_filename, stpy_get_producer) + (stpy_fullname): Update. + * python/py-progspace.c (pspy_get_filename, pspy_solib_name): + Update. + * python/py-prettyprint.c (print_string_repr): Update. + * python/py-objfile.c (objfpy_get_filename, objfpy_get_username) + (objfpy_get_build_id): Update. + * python/py-breakpoint.c (bppy_get_location) + (bppy_get_expression, bppy_get_condition, bppy_get_commands): + Update. + +2018-11-04 Tom Tromey + + * python/python-internal.h (gdb_py_object_from_longest) + (gdb_py_object_from_ulongest): Return gdbpy_ref. + * python/py-value.c (valpy_int): Update. + * python/py-utils.c (gdb_py_object_from_longest): Return + gdbpy_ref. + (gdb_py_object_from_ulongest): Likewise. + * python/py-type.c (typy_get_alignof): Update. + * python/py-linetable.c (ltpy_get_all_source_lines) + (ltpy_entry_get_line, ltpy_entry_get_pc): Update. + * python/py-block.c (blpy_get_start, blpy_get_end): Update. + +2018-11-03 Philippe Waroquiers + + * ada-lang.c (_initialize_ada_language): Fix typo. + +2018-11-03 Philippe Waroquiers + + * language.c (type): Remove. + (_initialize_language): Remove assignment to type. + +2018-11-02 Joel Brobecker + + * aarch64-ravenscar-thread.h, aarch64-ravenscar-thread.c: New files. + * aarch64-tdep.c: #include "aarch64-ravenscar-thread.h". + (aarch64_gdbarch_init): Add call to register_aarch64_ravenscar_ops. + * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-ravenscar-thread.o. + (HFILES_NO_SRCDIR): Add aarch64-ravenscar-thread.h. + (ALLDEPFILES): Add aarch64-ravenscar-thread.c. + * configure.tgt (cpu_obs) [aarch64*-*-*]: Add ravenscar-thread.o + and aarch64-ravenscar-thread.o. + * NEWS: Add entry documenting Ravenscar tasking support + on AArch64 ELF. + +2018-11-02 Matthew Malcomson + + * symtab.c (info_functions_command): Initialize quiet flag. + * stack.c (info_args_command): Likewise. + +2018-11-01 Jim Wilson + + * riscv-tdep.c (riscv_breakpoint_kind_from_pc): New local unaligned_p. + Set if pcptr if unaligned. Return 2 if unaligned_p true. Update + debugging messages. + +2018-11-01 Joel Brobecker + + * ada-lang.c (ada_watch_location_expression): New function. + (ada_language_defn): Set la_watch_location_expression to + ada_watch_location_expression. + +2018-11-01 Joel Brobecker + + * print-utils.c (int_string): Remove unnecessary trailing spaces. + +2018-11-01 Joel Brobecker + + * rs6000-tdep.c (skip_prologue): Fix potential negative left + shifting. + +2018-11-01 Jerome Guitton + Joel Brobecker + + * defs.h (enum gdb_osabi): Add GDB_OSABI_PIKEOS. + * osabi.c (gdb_osabi_names): Add name for GDB_OSABI_PIKEOS. + * arm-pikeos-tdep.c: New file. + * configure.tgt: Add arm-pikeos-tdep.o to the case of ARM + embedded system. + * Makefile.in (ALL_TARGET_OBS): Add arm-pikeos-tdep.o. + +2018-11-01 Simon Marchi + + * common/pathstuff.c (get_standard_temp_dir): New. + * common/pathstuff.h (get_standard_temp_dir): New. + * config.in: Re-generate. + * configure: Re-generate. + * configure.ac: Don't check for mkdtemp. + * gnulib/aclocal-m4-deps.mk: Re-generate. + * gnulib/aclocal.m4: Re-generate. + * gnulib/config.in: Re-generate. + * gnulib/configure: Re-generate. + * gnulib/import/Makefile.am: Re-generate. + * gnulib/import/Makefile.in: Re-generate. + * gnulib/import/m4/gnulib-cache.m4: Re-generate. + * gnulib/import/m4/gnulib-comp.m4: Re-generate. + * gnulib/import/m4/mkdtemp.m4: New file. + * gnulib/import/mkdtemp.c: New file. + * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): + Add mkdtemp module. + * unittests/mkdir-recursive-selftests.c (test): Use + get_standard_temp_dir. + (_initialize_mkdir_recursive_selftests): Remove HAVE_MKDTEMP + ifdef. + * compile/compile.c (get_compile_file_tempdir): Likewise. + +2018-11-01 Sangamesh Mallayya + + * rs6000-aix-tdep.c: Include "trad-frame.h" and "frame-unwind.h". + (SIG_FRAME_LR_OFFSET64): New define. + (SIG_FRAME_FP_OFFSET64): New define. + (aix_sighandle_frame_cache): New Function. + (aix_sighandle_frame_this_id): New Function. + (aix_sighandle_frame_prev_register): New Function. + (aix_sighandle_frame_sniffer): New Function. + (aix_sighandle_frame_unwind): New global variable. + (rs6000_aix_init_osabi): Install new frame unwinder. + +2018-10-31 Sergio Durigan Junior + + PR gdb/23835 + * common/common-defs.h: Don't redefine _FORTIFY_SOURCE if it's + already defined. + +2018-10-31 Pedro Franco de Carvalho + + * ppc-linux-nat.c: Include nat/linux-ptrace.h. + +2018-10-31 Andrew Burgess + + * dwarf2read.c (struct dwarf2_cu): Add producer_is_icc field. + (producer_is_icc): New function. + (check_producer): Set producer_is_icc field on dwarf2_cu. + (dwarf2_init_integer_type): New function. + (read_base_type): Call dwarf2_init_integer_type instead of + init_integer_type in all cases. + (dwarf2_cu::dwarf2_cu): Initialise producer_is_icc field. + * valprint.c (maybe_negate_by_bytes): Add an assertion that the + LEN is greater than 0. + +2018-10-30 Tom Tromey + + * main.c (captured_main_1): Check return value of bfd_init. + +2018-10-29 Sergio Durigan Junior + + * common/offset-type.h (DEFINE_OFFSET_REL_OP): Delete. + Adjust comments. + +2018-10-29 Rainer Orth + + * procfs.c: Include common/pathstuff.h. + +2018-10-28 Andrew Burgess + + * riscv-linux-nat.c (riscv_linux_nat_target::fetch_registers): + Add missing braces. No functional change. + +2018-10-27 Philippe Waroquiers + + * macrocmd.c (info_macro_command): Use report_unrecognized_option_error + to report a bad option and fix indentation. + * demangle.c (demangle_command): Use report_unrecognized_option_error + to report a bad option and correctly report the bad option. + +2018-10-27 Tom Tromey + + PR cli/23364: + * darwin-nat.c (copied_shell): New global. + (may_have_sip): Rename from should_disable_startup_with_shell. + (copy_shell_to_cache, maybe_cache_shell): New functions. + (darwin_nat_target::create_inferior): Update. Use + copied_shell. + +2018-10-27 Tom Tromey + + * unittests/scoped_fd-selftests.c (test_to_file): New function. + (run_tests): Call test_to_file. + * dwarf-index-write.c (write_psymtabs_to_index): Do not reopen + temporary files. + * common/scoped_fd.h (scoped_fd::to_file): New method. + +2018-10-27 Tom Tromey + + * unittests/scoped_mmap-selftests.c (test_normal): Use + gdb_mkostemp_cloexec. + * unittests/scoped_fd-selftests.c (test_destroy, test_release): + Use gdb_mkostemp_cloexec. + * gnulib/aclocal-m4-deps.mk, gnulib/aclocal.m4, + gnulib/config.in, gnulib/configure, + gnulib/import/Makefile.am, gnulib/import/Makefile.in, + gnulib/import/m4/gnulib-cache.m4, + gnulib/import/m4/gnulib-comp.m4: Update. + * gnulib/import/m4/mkostemp.m4: New file. + * gnulib/import/m4/mkstemp.m4: Remove. + * gnulib/import/mkostemp.c: New file. + * gnulib/import/mkstemp.m4: Remove. + * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Remove + mkstemp, add mkostemp. Apply new patch. + * gnulib/import/stdlib.in.h: Apply patch. + * gnulib/patches/0002-mkostemp-mkostemps-Fix-compilation-error-in-C-mode-o.patch: + New file. + * dwarf-index-write.c (write_psymtabs_to_index): Use + gdb_mkostemp_cloexec. + * common/filestuff.h (gdb_mkostemp_cloexec): New function. + +2018-10-27 Tom Tromey + + * unittests/mkdir-recursive-selftests.c: New file. + * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add + unittests/mkdir-recursive-selftests.c. + * dwarf-index-cache.c (mkdir_recursive): Move to + common/filestuff.c. + (index_cache::store): Check return value of mkdir_recursive. + (create_dir_and_check, test_mkdir_recursive): Move to new file. + (_initialize_index_cache): Don't register test. + * common/filestuff.h (mkdir_recursive): Declare. + * common/filestuff.c (mkdir_recursive): Move from + dwarf-index-cache.c. Return bool. + +2018-10-27 Tom Tromey + + * dwarf-index-write.c (write_psymtabs_to_index): Move + make_temp_filename to common/pathstuff.c. + * common/pathstuff.h (make_temp_filename): Declare. + * common/pathstuff.c (make_temp_filename): New function, moved + from dwarf-index-write.c. + +2018-10-27 Tom Tromey + + * procfs.c (procfs_target::create_inferior): Use get_shell. + * cli/cli-cmds.c (shell_escape): Use get_shell. + * windows-nat.c (windows_nat_target::create_inferior): Use + get_shell. + * common/pathstuff.c (get_shell): New function. + * nat/fork-inferior.c (SHELL_FILE, get_startup_shell): Remove. + (fork_inferior): Use get_shell. + * common/pathstuff.h (get_shell): Declare. + +2018-10-27 Philippe Waroquiers + + * NEWS: Mention changes to 'info [args|functions|locals|variables]' + +2018-10-27 Philippe Waroquiers + + * stack.c (print_variable_and_value_data): Add preg and treg. + (print_frame_local_vars): Add quiet, regexp and t_regexp arguments, + and update callers. + (print_frame_arg_vars): Likewise. + (prepare_reg): New function. + (info_locals_command): Extract info print args and use them. + (info_args_command): Likewise. + (_initialize_stack): Modify on-line help. + * symtab.c (treg_matches_sym_type_name): New function. + (search_symbols): New arg t_regexp. + (symtab_symbol_info): New args quiet, regexp, t_regexp. + (info_variables_command): Extract info print args and use them. + (info_functions_command): Likewise. + (info_types_command): Update call to symtab_symbol_info. + (_initialize_symtab): Modify on-line help. + * symtab.h (treg_matches_sym_type_name): New function. + (search_symbols): New t_regexp arg. + +2018-10-27 Philippe Waroquiers + + * cli-utils.c (extract_arg_maybe_quoted): New function. + (extract_info_print_args): New function. + (info_print_args_help): New function. + (report_unrecognized_option_error): New function. + * cli-utils.h (extract_arg_maybe_quoted): New function. + (extract_info_print_args): New function. + (info_print_args_help): New function. + (report_unrecognized_option_error): New function. + +2018-10-26 Tom Tromey + + * dwarf2read.c (recursively_compute_inclusions): Use std::vector. + (compute_compunit_symtab_includes): Update. + * symtab.h: (symtab_ptr): Remove typedef. Don't define a VEC. + (compunit_symtab_ptr): Likewise. + +2018-10-26 John Baldwin + + * fbsd-tdep.c (fbsd_print_auxv_entry): Only use + default_print_auxv_entry for specific tag values. + +2018-10-26 John Baldwin + + * fbsd-tdep.c (fbsd_print_auxv_entry): Handle AT_FREEBSD_HWCAP2. + 2018-10-26 Jim Wilson + * riscv-linux-tdep.c: Include tramp-frame.h and trad-frame.h. + (riscv_linux_sigframe_init): Declare. + (RISCV_INST_LI_A7_SIGRETURN, RISCV_INT_ECALL): New. + (riscv_linux_sigframe): New. + (SIGFRAME_SIGINFO_SIZE, UCONTEXT_MCONTEXT_OFFSET): New. + (riscv_linux_sigframe_init): Define. + (riscv_linux_init_abi): Call tramp_frame_prepend_unwinder. + * riscv-tdep.c (riscv_isa_xlen): Refer to riscv-tdep.h comment. (riscv_isa_flen): Likewise. Drop static. * riscv-tdep.h (riscv_isa_xlen): Move riscv-tdep.c comment to here.