X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=fd9c1681f6d7d778f8211e64def388f86feb0423;hb=604c4ca9f33d13813312b2f127f6599a5c5de038;hp=9f220d99bb98a758b00a0db3dfa7e8f79513c94c;hpb=1cc62f2e4443384e300586683aa1f8197c81cbc5;p=binutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9f220d99bb9..fd9c1681f6d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,421 @@ +2018-11-20 Philippe Waroquiers + + * NEWS: Document the language choice done by + 'info [types|functions|variables]|rbreak'. + +2018-11-20 Philippe Waroquiers + + * symtab.c (treg_matches_sym_type_name): Use + scoped_switch_to_sym_language_if_auto instead of local logic. + (print_symbol_info): Use scoped_switch_to_sym_language_if_auto + to switch to SYM language when language mode is auto. + +2018-11-20 Philippe Waroquiers + + * language.h (scoped_switch_to_sym_language_if_auto): New class. + +2018-11-20 Philippe Waroquiers + + * symtab.c (search_symbols): Properly check absence of type regexp + before entering the loop scanning the minimal symbols. + +2018-11-20 John Darrington + + * s12z-tdep.c (s12z_extract_return_value): New function. + (inv_reg_perm) New array. + (s12z_return_value): Populate readbuf if non-null. + +2018-11-20 Eli Zaretskii + + * common/filestuff.c (gdb_fopen_cloexec): Disable use of "e" mode + with 'fopen' also if O_CLOEXEC is equal to O_NOINHERIT, to cater + to MinGW fixed by Gnulib. + (O_NOINHERIT): Define if not defined. + +2018-11-19 John Darrington + + * s12z-tdep.c (s12z_frame_cache): Add an assertion. + +2018-11-19 Simon Marchi + + * infrun.c (displaced_step_inferior_state) : Remove. + +2018-11-19 Tom Tromey + + * source.c (get_filename_and_charpos): Return void. + +2018-11-19 Simon Marchi + + * skip.c (_initialize_step_skip): Fix "info skip" help. + +2018-11-16 Tom Tromey + + PR rust/23625: + * rust-lang.c (rust_internal_print_type): Handle TYPE_CODE_PTR. + +2018-11-19 Simon Marchi + + * infrun.c (displaced_step_inferior_states): Change type to + std::forward_list. + (get_displaced_stepping_state): Adjust. + (displaced_step_in_progress_any_inferior): Adjust. + (add_displaced_stepping_state): Adjust. + (remove_displaced_stepping_state): Adjust. + +2018-11-18 Tom Tromey + + PR build/23814: + * target-delegates.c: Rebuild. + * ia64-linux-nat.c (class ia64_linux_nat_target) + : Use override. Return true, not 1. + (ia64_linux_nat_target::can_use_hw_breakpoint): Rename. Remove + "self" argument. + (ia64_linux_nat_target::low_new_thread): Rename. + (class ia64_linux_nat_target) : Don't declare. + * target.h (struct target_ops) : Return + bool. + +2018-11-16 Alan Hayward + + PR gdb/22736: + * aarch64-tdep.c (aarch64_push_dummy_call): Remove + lang_struct_return code. + +2018-11-16 Alan Hayward + + * aarch64-tdep.c (aarch64_push_dummy_call): Replace arg with + return_method. + * alpha-tdep.c (alpha_push_dummy_call): Likewise. + * amd64-tdep.c (amd64_push_arguments): Likewise. + (amd64_push_dummy_call): Likewise. + * amd64-windows-tdep.c (amd64_windows_push_arguments): Likewise. + * arc-tdep.c (arc_push_dummy_call): Likewise. + * arm-tdep.c (arm_push_dummy_call): Likewise. + * avr-tdep.c (avr_push_dummy_call): Likewise. + * bfin-tdep.c (bfin_push_dummy_call): Likewise. + * cris-tdep.c (cris_push_dummy_call): Likewise. + * csky-tdep.c (csky_push_dummy_call): Likewise. + * frv-tdep.c (frv_push_dummy_call): Likewise. + * gdbarch.c: Regenerate. + * gdbarch.h: Regenerate. + * gdbarch.sh (gdbarch_push_dummy_call): Replace arg with + return_method. + * h8300-tdep.c (h8300_push_dummy_call): Likewise. + * hppa-tdep.c (hppa32_push_dummy_call): Likewise. + (hppa64_push_dummy_call): Likewise. + * i386-darwin-tdep.c (i386_darwin_push_dummy_call): Likewise. + * i386-tdep.c (i386_push_dummy_call): Likewise. + * ia64-tdep.c (ia64_push_dummy_call): Likewise. + * infcall.c (call_function_by_hand_dummy): Likewise. + * iq2000-tdep.c (iq2000_push_dummy_call): Likewise. + * lm32-tdep.c (lm32_push_dummy_call): Likewise. + * m32c-tdep.c (m32c_push_dummy_call): Likewise. + * m32r-tdep.c (m32r_push_dummy_call): Likewise. + * m68hc11-tdep.c (m68hc11_push_dummy_call): Likewise. + * m68k-tdep.c (m68k_push_dummy_call): Likewise. + * mep-tdep.c (mep_push_dummy_call): Likewise. + * mips-tdep.c (mips_eabi_push_dummy_call): Likewise. + (mips_n32n64_push_dummy_call): Likewise. + (mips_o32_push_dummy_call): Likewise. + (mips_o64_push_dummy_call): Likewise. + * mn10300-tdep.c (mn10300_push_dummy_call): Likewise. + * msp430-tdep.c (msp430_push_dummy_call): Likewise. + * nds32-tdep.c (nds32_push_dummy_call): Likewise. + * nios2-tdep.c (nios2_push_dummy_call): Likewise. + * or1k-tdep.c (or1k_push_dummy_call): Likewise. + * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Likewise. + (ppc64_sysv_abi_push_dummy_call): Likewise. + * ppc-tdep.h (ppc_sysv_abi_push_dummy_call): Likewise. + (ppc64_sysv_abi_push_dummy_call): Likewise. + * riscv-tdep.c (riscv_push_dummy_call): Likewise. + * rl78-tdep.c (rl78_push_dummy_call): Likewise. + * rs6000-aix-tdep.c (rs6000_push_dummy_call): Likewise. + * rs6000-lynx178-tdep.c (rs6000_lynx178_push_dummy_call): Likewise. + * rx-tdep.c (rx_push_dummy_call): Likewise. + * s390-tdep.c (s390_push_dummy_call): Likewise. + * score-tdep.c (score_push_dummy_call): Likewise. + * sh-tdep.c (sh_push_dummy_call_fpu): Likewise. + (sh_push_dummy_call_nofpu): Likewise. + * sparc-tdep.c (sparc32_store_arguments): Likewise. + (sparc32_push_dummy_call): Likewise. + * sparc64-tdep.c (sparc64_store_arguments): Likewise. + (sparc64_push_dummy_call): Likewise. + * spu-tdep.c (spu_push_dummy_call): Likewise. + * tic6x-tdep.c (tic6x_push_dummy_call): Likewise. + * tilegx-tdep.c (tilegx_push_dummy_call): Likewise. + * v850-tdep.c (v850_push_dummy_call): Likewise. + * vax-tdep.c (vax_push_dummy_call): Likewise. + * xstormy16-tdep.c (xstormy16_push_dummy_call): Likewise. + * xtensa-tdep.c (xtensa_push_dummy_call): Likewise. + +2018-11-16 Alan Hayward + + * gdbarch.sh (enum function_call_return_method): Add enum. + * gdbarch.h: Regenerate. + * infcall.c (call_function_by_hand_dummy): Replace vars with enum. + +2018-11-15 Joel Brobecker + + * unittests/copy_bitwise-selftests.c: New file. + * utils.c (selftests::bits_to_str, selftests::check_copy_bitwise) + (selftests::copy_bitwise_tests): Delete, moving this code to + unittests/copy_bitwise-selftests.c instead. + (_initialize_utils): Do not register copy_bitwise tests. + * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add + unittests/copy_bitwise-selftests.c. + +2018-11-14 Joel Brobecker + + * ada-lang.c (move_bits): Delete. Update all callers to use + copy_bitwise instead. + * dwarf2loc.c (copy_bitwise, bits_to_str::bits_to_str) + (selftests::check_copy_bitwise, selftests::copy_bitwise_tests): + Move from here to utils.c. + (_initialize_dwarf2loc): Remove call to register copy_bitwise + selftests. + * utils.h (copy_bitwise): Add declaration. + * utils.c (copy_bitwise, bits_to_str::bits_to_str) + (selftests::check_copy_bitwise, selftests::copy_bitwise_tests): + Moved here from dwarf2loc.c. + (_initialize_utils): Register copy_bitwise selftests. + +2018-11-14 Jim Wilson + + * riscv-tdep.c (struct riscv_arg_info): New field is_unnamed. + (riscv_call_arg_scalar_int): If unnamed arg with twice xlen alignment, + then increment next_regnum if odd. + (riscv_arg_location): New arg is_unnamed. Set ainfo->is_unnamed. + (riscv_push_dummy_call): New local ftype. Call check_typedef to set + function type. Pass new arg to riscv_arg_location based on function + type. + (riscv_return_value): Pass new arg to riscv_arg_location. + + * riscv-tdep.c (BIGGEST_ALIGNMENT): New. + (riscv_type_alignment) : If TYPE_VECTOR, return min + of TYPE_LENGTH and BIGGEST_ALIGNMENT. + + * riscv-tdep.c (riscv_call_arg_scalar_int): Use std::min when + setting len. New local align, set to max of arg align and xlen, + and pass to first riscv_assign_stack_location call. + +2018-11-12 Simon Marchi + + * skip.c (complete_skip_number): New function. + (_initialize_step_skip): Add completers to some skip commands. + +2018-11-09 Tom Tromey + + * remote.c (remote_g_packet_guess_s): Remove typedef and DEF_VEC. + (struct remote_g_packet_data): Derive from allocate_on_obstack. + : Now a std::vector. + (remote_g_packet_data_init, register_remote_g_packet_guess): + Update. + (remote_read_description_p): Update. Return bool. + (remote_target::read_description): Update. + (struct remote_g_packet_guess): Add constructor. + +2018-11-09 Tom Tromey + + * common/scoped_fd.h (class scoped_fd): Add move constructor and + move assignment operator. + * psymtab.c (psymtab_to_fullname): Update. + * source.h (open_source_file): Return scoped_fd. + (find_and_open_source): Likewise. + * source.c (open_source_file): Return scoped_fd. + (get_filename_and_charpos): Update. + (print_source_lines_base): Update. Use scoped_fd::to_file. + (forward_search_command): Likewise. + (reverse_search_command): Likewise. + (find_and_open_source): Return scoped_fd. + * tui/tui-source.c (tui_set_source_content): Update. Use + gdb_file_up. + +2018-11-09 John Baldwin + + * minsyms.c (minimal_symbol_reader::install): Fix unsigned + overflow. + +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 @@ -615,6 +1033,12 @@ (riscv_is_regnum_a_named_csr): New function. (riscv_register_reggroup_p): Use riscv_is_regnum_a_named_csr. +2018-10-23 John Darrington + + * configure.tgt: Add configuration for s12z. + * s12z-tdep.c: New file. + * NEWS: Mention new target. + 2018-10-22 Jim Wilson * riscv-tdep.c (riscv_push_dummy_call) : Check for value in @@ -872,14 +1296,14 @@ (value_struct_elt_for_reference): Use it to get virtual base offset and add it in calculating class member address. -2018-10-08 John Darrington +2018-10-08 John Darrington - * dwarf2read.c (dwarf2_cu) : New field. - (check_producer): Check if the producer is codewarrior. - (producer_is_codewarrior): New function. - (lnp_state_machine::record_line): Ignore is_stmt flag for records - produced by codewarrior. - (dwarf2_cu::dwarf2_cu): Initialize producer_is_codewarrior. + * dwarf2read.c (dwarf2_cu) : New field. + (check_producer): Check if the producer is codewarrior. + (producer_is_codewarrior): New function. + (lnp_state_machine::record_line): Ignore is_stmt flag for records + produced by codewarrior. + (dwarf2_cu::dwarf2_cu): Initialize producer_is_codewarrior. 2018-10-06 Tom Tromey @@ -1280,7 +1704,7 @@ * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Use pulongest. -2018-10-02 John Darrington +2018-10-02 John Darrington * NEWS: Mention changed commands. * ser-uds.c: New file. @@ -1288,7 +1712,7 @@ * configure: Regenerate. * Makefile.in: Add new file. * serial.c (serial_open): Check if filename is a socket - and lookup the appropriate interface accordingly. + and lookup the appropriate interface accordingly. 2018-10-01 Alan Hayward @@ -3844,14 +4268,16 @@ * mips-fbsd-tdep.c (mips_fbsd_iterate_over_regset_sections): Likewise. * mips-linux-tdep.c (mips_linux_iterate_over_regset_sections): Likewise. * mips-nbsd-tdep.c (mipsnbsd_iterate_over_regset_sections): Likewise. - * mips64-obsd-tdep.c (mips64obsd_iterate_over_regset_sections): Likewise. + * mips64-obsd-tdep.c (mips64obsd_iterate_over_regset_sections): + Likewise. * mn10300-linux-tdep.c (am33_iterate_over_regset_sections): Likewise. * nios2-linux-tdep.c (nios2_iterate_over_regset_sections): Likewise. * ppc-fbsd-tdep.c (ppcfbsd_iterate_over_regset_sections): Likewise. * ppc-linux-tdep.c (ppc_linux_iterate_over_regset_sections): Likewise. * ppc-nbsd-tdep.c (ppcnbsd_iterate_over_regset_sections): Likewise. * ppc-obsd-tdep.c (ppcobsd_iterate_over_regset_sections): Likewise. - * riscv-linux-tdep.c (riscv_linux_iterate_over_regset_sections): Likewise. + * riscv-linux-tdep.c (riscv_linux_iterate_over_regset_sections): + Likewise. * rs6000-aix-tdep.c (rs6000_aix_iterate_over_regset_sections): Likewise. * s390-linux-tdep.c (s390_iterate_over_regset_sections): Likewise. * score-tdep.c (score7_linux_iterate_over_regset_sections): Likewise. @@ -4256,8 +4682,8 @@ 2018-08-02 Xavier Roirand PR gdb/22629: - * darwin-nat.c (darwin_kill_inferior): Fix handling of - kill inferior. + * darwin-nat.c (darwin_kill_inferior): Fix handling of + kill inferior. 2018-08-02 Tom Tromey @@ -6222,7 +6648,8 @@ 2018-06-27 Omair Javaid PR gdb/21695 - * dwarf2read.c (lnp_state_machine::check_line_address): Update declaration. + * dwarf2read.c (lnp_state_machine::check_line_address): Update + declaration. (dwarf_decode_lines_1): Adjust. 2018-06-27 Simon Marchi @@ -6624,13 +7051,13 @@ 2018-06-21 Alan Hayward - * regcache.c (readable_regcache::read_part): Avoid memcpy when - possible. - (regcache::write_part): Likewise. - (readable_regcache::cooked_read_part): Update comment. - (readable_regcache::cooked_write_part): Likewise. - * regcache.h: (readable_regcache::read_part): Likewise. - (regcache::write_part): Likewise. + * regcache.c (readable_regcache::read_part): Avoid memcpy when + possible. + (regcache::write_part): Likewise. + (readable_regcache::cooked_read_part): Update comment. + (readable_regcache::cooked_write_part): Likewise. + * regcache.h: (readable_regcache::read_part): Likewise. + (regcache::write_part): Likewise. 2018-06-21 Richard Bunt Dirk Schubert @@ -6926,7 +7353,7 @@ 2018-06-11 John David Anglin - * gdb/hppa-linux-nat.c + * hppa-linux-nat.c (hppa_linux_nat_target::fetch_inferior_registers): Rename to hppa_linux_nat_target::fetch_registers.