X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2FChangeLog;h=5ac4f9cb95e774702432523f926d397e61aeca3f;hb=39f34d7b64ee76e07b82a3e57800905d249d8005;hp=f27043da0e42b9f3b628635472f9544a506dbc89;hpb=feee869bd84841bc048b4ca60a8713d80f8be5d9;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f27043da0e..5ac4f9cb95 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,333 @@ +2019-12-12 Luis Machado + + * gdbsupport/safe-strerror.c: Don't include diagnostics.h. + (select_strerror_r): Use ATTRIBUTE_UNUSED instead of the diagnostics + macros. + +2019-12-11 Tom Tromey + + * tui/tui-win.c (tui_set_win_height_command): Call + tui_adjust_window_height. + (tui_adjust_win_heights, new_height_ok): Remove. + * tui/tui-layout.h (tui_adjust_window_height): Declare. + * tui/tui-layout.c (tui_adjust_window_height): New function. + +2019-12-11 Tom Tromey + + * tui/tui-win.c (tui_resize_all): Remove code, call + tui_apply_current_layout. + +2019-12-11 Tom Tromey + + * tui/tui-layout.h (tui_apply_current_layout): Declare. + * tui/tui-layout.c (standard_layouts, applied_layout): New + globals. + (tui_apply_current_layout): New function. + (show_layout): Set applied_layout. Call + tui_apply_current_layout. + (show_source_command, show_disasm_command) + (show_source_disasm_command, show_data) + (show_source_or_disasm_and_command): Remove. + (initialize_layouts): New function. + (_initialize_tui_layout): Call initialize_layouts. + +2019-12-11 Tom Tromey + + * tui/tui-layout.h (class tui_layout_base) + (class tui_layout_window, class tui_layout_split): New. + * tui/tui-layout.c (tui_get_window_by_name) + (tui_layout_window::clone, tui_layout_window::apply) + (tui_layout_window::get_sizes, tui_layout_window::add_split) + (tui_layout_split::add_window, tui_layout_split::clone) + (tui_layout_split::get_sizes) + (tui_layout_split::set_weights_from_heights) + (tui_layout_split::adjust_size, tui_layout_split::apply): New + functions. + (tui_layout_split::add_split, tui_layout_split::add_split) + (tui_layout_split::set_weights_from_heights) + (tui_layout_split::set_weights_from_heights): New functions. + +2019-12-11 Tom Tromey + + * tui/tui-wingeneral.c (tui_gen_win_info::make_window): Update. + * tui/tui-win.c (tui_adjust_win_heights, tui_resize_all): Update. + * tui/tui-layout.c (tui_gen_win_info::resize): Update. + * tui/tui-data.h (struct tui_point): Remove. + (struct tui_gen_win_info) : Remove. + : New fields. + * tui/tui-command.c (tui_cmd_window::resize): Update. + +2019-12-11 Tom Tromey + + * tui/tui-stack.h (struct tui_locator_window) : + Implement. + * tui/tui-regs.h (struct tui_data_item_window) : + Implement. + * tui/tui-data.h (struct tui_gen_win_info) : New + method. + (struct tui_win_info) : Implement. + +2019-12-11 Tom Tromey + + * tui/tui-data.h (struct tui_gen_win_info) : New method. + (struct tui_win_info) : Update. + +2019-12-11 Tom Tromey + + * tui/tui-stack.h (struct tui_locator_window) : New + method. + * tui/tui-regs.h (struct tui_data_item_window) : New + method. + * tui/tui-data.h (struct tui_gen_win_info) : New + method. + (struct tui_win_info) : Now override. + +2019-12-11 Joel Brobecker + + * NEWS: Create a new section for the next release branch. + Rename the section of the current branch, now that it has + been cut. + +2019-12-11 Joel Brobecker + + GDB 9 branch created (27f7b2f64062ac9e52afc60509263c2702a9ebd0): + * version.in: Bump version to 10.0.50.DATE-git. + +2019-12-11 Tom Tromey + + PR build/25268: + * gdbsupport/thread-pool.c (set_thread_name): New function. + (thread_pool::set_thread_count): Don't call pthread_setname_np. + (thread_pool::thread_function): Call set_thread_name. + +2019-12-11 Tom Tromey + + * fbsd-tdep.c (fbsd_core_info_proc_status): Cast result of + bfd_get_signed_8. + +2019-12-11 Philippe Waroquiers + + * NEWS: Document -raw-values option and the related setting commands. + * printcmd.c (print_command_parse_format): Do not set opts->raw off, + only set it on when /r is given. + * valprint.c (value_print_option_defs): New element raw-values. + * Makefile.in: Add the new file. + +2019-12-10 Christian Biesinger + + * gdbsupport/safe-strerror.c: Supress the unused function warning + for select_strerror_r. + +2019-12-10 Christian Biesinger + + * config.in: Regenerate. + * configure: Regenerate. + * gdbsupport/agent.c (gdb_connect_sync_socket): Call + safe_strerror instead of strerror. + * gdbsupport/common.m4: Don't check for strerror. + * gdbsupport/safe-strerror.c: Support both the glibc version + of strerror_r and the XSI version. + +2019-12-10 Tom Tromey + + * ada-typeprint.c (print_choices): Use a single "?". + (print_variant_part): Print "?" if the discriminant name + is not known. + +2019-12-10 George Barrett + + Fix scripted probe breakpoints. + * breakpoint.c (tracepoint_probe_breakpoint_ops): Move + declaration forward. + (breakpoint_ops_for_event_location_type) + (breakpoint_ops_for_event_location): Add function definitions. + (break_command_1, trace_command): Use + breakpoint_ops_for_event_location. + * breakpoint.h (breakpoint_ops_for_event_location): Add function + declarations. + * guile/scm-breakpoint.c (gdbscm_register_breakpoint_x): Use + breakpoint_ops_for_event_location. + * python/py-breakpoint.c (bppy_init): Use + breakpoint_ops_for_event_location. + +2019-12-09 Tankut Baris Aktemur + + * gdbtypes.c (rank_one_type): Return INCOMPATIBLE_TYPE_BADNESS + when ranking an lvalue argument for an rvalue parameter. + +2019-12-08 Wataru Ashihara + + * darwin-nat.c (darwin_nat_target::create_inferior): Fix + template argument for scoped_restore_tmpl from bool to int. + +2019-12-07 Keith Seitz + + * build-id.c (build_id_bfd_get): Permit bfd_core, too. + (build_id_to_debug_bfd): Make static, rewriting to use + build_id_to_bfd_suffix. + (build_id_to_bfd_suffix): Copy of build_id_to_debug_bfd, + adding `suffix' parameter. Append SUFFIX to file names + when searching for matching files. + (build_id_to_debug_bfd): Use build_id_to_bfd_suffix. + (build_id_to_exec_bfd): Likewise. + * build-id.h (build_id_to_debug_bfd): Clarify that function + searches for BFD of debug info file. + (build_id_to_exec_bfd): Declare. + * corelow.c: Include build-id.h. + (locate_exec_from_corefile_build_id): New function. + (core_target_open): If no executable BFD is found, + search for a core file BFD using build-id. + +2019-12-06 Christian Biesinger + + * bcache.c: Put in namespace gdb. + * bcache.h: Likewise. + * gdbtypes.c (check_types_worklist): Update. + (types_deeply_equal): Update. + * macrotab.c (struct macro_table) : Update. + (new_macro_table): Update. + * macrotab.h (struct bcache): Put this forward declaration + inside namespace gdb. + (new_macro_table): Update. + * objfiles.h (struct objfile_per_bfd_storage) : + Update. + : Update. + * psymtab.h: (psymtab_storage) : Update. + +2019-12-06 Tom de Vries + + PR symtab/24971 + * block.c (best_symbol, better_symbol): New function. + (block_lookup_symbol_primary, block_lookup_symbol): Prefer def over + decl. + +2019-12-06 Tankut Baris Aktemur + + * gdbtypes.h: Define the REFERENCE_SEE_THROUGH_BADNESS value. + * gdbtypes.c (rank_one_type): Use REFERENCE_SEE_THROUGH_BADNESS + for ranking see-through reference cases. + +2019-12-06 Philippe Waroquiers + * stack.c (faas_command): Check a command is provided. + * thread.c (taas_command, tfaas_command): Likewise. + +2019-12-05 Philippe Waroquiers + * inferior.c (prune_inferiors): Only call delete_inferior, + Do not modify the inferior list. + +2019-12-05 Simon Marchi + + * c-exp.y: Update calls to lookup_typename, + lookup_signed_typename and lookup_unsigned_typename. + * c-lang.c (evaluate_subexp_c): Likewise. + * cp-namespace.c (cp_lookup_symbol_imports_or_template): + Likewise. + * eval.c (binop_promote): Likewise. + * gdbtypes.c (lookup_typename): Remove gdbarch parameter. + (lookup_unsigned_typename): Likewise. + (lookup_signed_typename): Likewise. + * gdbtypes.h (lookup_unsigned_typename): Likewise. + (lookup_signed_typename): Likewise. + (lookup_typename): Likewise. + * guile/scm-type.c (tyscm_lookup_typename): Update calls to + lookup_typename, lookup_signed_typename, + lookup_unsigned_typename. + * m2-exp.y: Likewise. + * printcmd.c (printf_wide_c_string): Likewise. + (ui_printf): Likewise. + * python/py-type.c (typy_lookup_typename): Likewise. + * python/py-xmethods.c (python_xmethod_worker::invoke): + Likewise. + * rust-exp.y: Likewise. + +2019-12-04 Christian Biesinger + + * configure.nat (obsd64): Add missing files x86-nat.o and + nat/x86-dregs.o. + +2019-12-04 Tom Tromey + + * valprint.c (val_print_string): Use metadata_style. + * go-valprint.c (print_go_string): Use metadata style. + * p-valprint.c (pascal_object_print_static_field): Use metadata + style. + * cp-valprint.c (cp_print_static_field): Use metadata style. + +2019-12-04 Andrew Burgess + Chris January + + * f-exp.y (COMPLEX_KEYWORD, SINGLE, DOUBLE, PRECISION): New + tokens. + (typebase): New patterns for complex, single/double precision, and + single/double complex. + (f77_keywords): Change token for complex keyword, and add single, + double, and precision keywords. + +2019-12-04 Simon Marchi + + * avr-tdep.c (_initialize_avr_tdep): Improve help of command + "info io_registers". + +2019-12-04 Simon Marchi + + * regcache.c (cooked_read_test): Initialize thread list of + mock_inferior. + +2019-12-04 Simon Marchi + + * aarch64-linux-tdep.c: Remove includes. + +2019-12-04 Simon Marchi + + * aarch64-tdep.c: Remove includes. + +2019-12-04 Simon Marchi + + * filtered-iterator.h (filtered_iterator) : Compare wrapped iterators, not wrapped pointers. + * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add + unittests/filtered_iterator-selftests.c. + * unittests/filtered_iterator-selftests.c: New file. + +2019-12-04 Tom Tromey + + * gdbtypes.c (create_range_type): Inherit endianity + from base type. + +2019-12-04 Tom Tromey + + * ada-lang.c (decode_constrained_packed_array) + (ada_value_assign, value_assign_to_component): Update. + * dwarf2loc.c (rw_pieced_value, access_memory) + (dwarf2_compile_expr_to_ax): Update. + * dwarf2read.c (dwarf2_add_field): Update. + * eval.c (evaluate_subexp_standard): Update. + * gdbarch.c, gdbarch.h: Rebuild. + * gdbarch.sh (bits_big_endian): Remove. + * gdbtypes.h (union field_location): Update comment. + * target-descriptions.c (make_gdb_type): Update. + * valarith.c (value_bit_index): Update. + * value.c (struct value) : Update comment. + (unpack_bits_as_long, modify_field): Update. + * value.h (value_bitpos): Update comment. + +2019-12-04 Tom Tromey + + * gdbtypes.c (type_byte_order): Move earlier. Assert for unknown + endian-ness. + +2019-12-04 Tom Tromey + + * dwarf2read.c (dwarf2_init_float_type) + (dwarf2_init_complex_target_type): Add byte_order parameter. + (read_base_type): Compute byte order earlier. + * gdbtypes.c (init_float_type): Add byte_order parameter. + * gdbtypes.h (init_float_type): Add byte_order parameter. + +2019-12-04 Tom Tromey + + * unittests/tui-selftests.c: Conditionally include tui-winsource.h. + 2019-12-04 Tom Tromey * dwarf2read.c (process_structure_scope): Initialize