X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=8d72d38cea4bf7c2dbd3a49549e786bbb85da6a4;hb=ffdd69cf7840f3b158de16819591361c8dae3a4d;hp=a311b8290e40feb842771e6a459a12b06b0c7c8a;hpb=fe7b42e5843ef82f97959e0e18122c164449a8ea;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a311b8290e..8d72d38cea 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,226 @@ +2019-03-12 Tom Tromey + + * remote.c (magic_null_ptid, not_sent_ptid, any_thread_ptid): Now + const. Add initializers. + (_initialize_remote): Don't initialize ptid globals. + +2019-03-12 Pedro Alves + + * yy-remap.h [TEST_CPNAMES] (YYFPRINTF): Don't define. + +2019-03-12 Pedro Alves + + * cp-name-parser.y (main): Remove unused 'len' variable. + +2019-03-12 Tom Tromey + + * common/ptid.c (null_ptid, minus_one_ptid): Now const. + * common/ptid.h (null_ptid, minus_one_ptid): Now const. + +2019-03-12 Tom Tromey + + * linux-nat.c (iterate_over_lwps): Update. + (stop_callback): Remove parameter. + (stop_wait_callback, detach_callback, resume_set_callback) + (select_singlestep_lwp_callback, set_ignore_sigint) + (status_callback, resumed_callback, resume_clear_callback) + (kill_callback, kill_wait_callback, linux_nat_stop_lwp): Remove + data parameter. + (linux_nat_target::detach, linux_nat_target::resume) + (linux_stop_and_wait_all_lwps, select_event_lwp) + (linux_nat_filter_event, linux_nat_wait_1) + (linux_nat_target::kill, linux_nat_target::stop) + (linux_nat_target::stop): Update. + (linux_nat_resume_callback): Change type. + (resume_stopped_resumed_lwps, count_events_callback) + (select_event_lwp_callback): Likewise. + (linux_stop_lwp, linux_nat_stop_lwp): Update. + * arm-linux-nat.c (struct update_registers_data): Remove. + (update_registers_callback): Change type. + (arm_linux_insert_hw_breakpoint1): Update. + * nat/x86-linux-dregs.c (update_debug_registers_callback): Remove + parameter. + (x86_linux_dr_set_addr): Update. + (x86_linux_dr_set_control): Update. + * nat/linux-nat.h (iterate_over_lwps_ftype): Remove parameter. + (iterate_over_lwps): Use gdb::function_view. + * nat/aarch64-linux-hw-point.c (struct + aarch64_dr_update_callback_param): Remove. + (debug_reg_change_callback): Change type. + (aarch64_notify_debug_reg_change): Update. + * s390-linux-nat.c (s390_refresh_per_info): Update. + +2019-03-11 Tom Tromey + + * dwarf2read.c (dwarf2_find_containing_comp_unit): Remove + redundant assignment to "this_cu". + +2019-03-08 Simon Marchi + + * gdbtypes.c (rank_one_type): Remove unnecessary cases from switch. + +2019-03-08 Simon Marchi + + * gdbtypes.c (rank_one_type_parm_set): New function extracted + from... + (rank_one_type): ... this. + +2019-03-08 Simon Marchi + + * gdbtypes.c (rank_one_type_parm_struct): New function extracted + from... + (rank_one_type): ... this. + +2019-03-08 Simon Marchi + + * gdbtypes.c (rank_one_type_parm_complex): New function extracted + from... + (rank_one_type): ... this. + +2019-03-08 Simon Marchi + + * gdbtypes.c (rank_one_type_parm_float): New function extracted + from... + (rank_one_type): ... this. + +2019-03-08 Simon Marchi + + * gdbtypes.c (rank_one_type_parm_bool): New function extracted + from... + (rank_one_type): ... this. + +2019-03-08 Simon Marchi + + * gdbtypes.c (rank_one_type_parm_range): New function extracted + from... + (rank_one_type): ... this. + +2019-03-08 Simon Marchi + + * gdbtypes.c (rank_one_type_parm_char): New function extracted + from... + (rank_one_type): ... this. + +2019-03-08 Simon Marchi + + * gdbtypes.c (rank_one_type_parm_enum): New function extracted + from... + (rank_one_type): ... this. + +2019-03-08 Simon Marchi + + * gdbtypes.c (rank_one_type_parm_int): New function extracted + from... + (rank_one_type): ... this. + +2019-03-08 Simon Marchi + + * gdbtypes.c (rank_one_type_parm_func): New function extracted + from... + (rank_one_type): ... this. + +2019-03-08 Simon Marchi + + * gdbtypes.c (rank_one_type_parm_array): New function extracted + from... + (rank_one_type): ... this. + +2019-03-08 Simon Marchi + + * gdbtypes.c (rank_one_type_parm_ptr): New function extracted + from... + (rank_one_type): ... this. + +2019-02-27 Philippe Waroquiers + + * inferior.c (initialize_inferiors): Ensure 'help set/show print + inferior-events' shows the example events. + +2019-03-08 Eli Zaretskii + + Support styling on native MS-Windows console + + PR/24315 + * utils.c (can_emit_style_escape) [_WIN32]: Don't disable styling + on MS-Windows if $TERM is not defined. + + * cli/cli-style.c: Set cli_styling to 1 in the MinGW build. + + * posix-hdep.c (gdb_console_fputs): + * mingw-hdep.c (rgb_to_16colors, gdb_console_fputs): New + functions. + * ui-file.h (gdb_console_fputs): Add prototype. + + * ui-file.c (stdio_file::puts): Call gdb_console_fputs, and fall + back to fputs only if the former returns zero. + +2019-03-07 Tom Tromey + + * symmisc.c (print_symbol_bcache_statistics): Update. + (print_objfile_statistics): Update. + * symfile.c (allocate_symtab): Update. + * stabsread.c: Don't include bcache.h. + * psymtab.h (struct psymbol_bcache): Don't declare. + (class psymtab_storage) : Now a bcache. + (psymbol_bcache_init, psymbol_bcache_free) + (psymbol_bcache_get_bcache): Don't declare. + * psymtab.c (struct psymbol_bcache): Remove. + (psymtab_storage::psymtab_storage): Update. + (psymtab_storage::~psymtab_storage): Update. + (psymbol_bcache_init, psymbol_bcache_free) + (psymbol_bcache_get_bcache, psymbol_bcache_full): Remove. + (add_psymbol_to_bcache): Update. + (allocate_psymtab): Update. + * objfiles.h (struct objfile_per_bfd_storage) : No longer pointers. + * objfiles.c (get_objfile_bfd_data): Don't call bcache_xmalloc. + (free_objfile_per_bfd_storage): Don't call bcache_xfree. + * macrotab.c (macro_bcache): Update. + * macroexp.c: Don't include bcache.h. + * gdbtypes.c (check_types_worklist): Update. + (types_deeply_equal): Remove TRY/CATCH. Update. + * elfread.c (elf_symtab_read): Update. + * dwarf2read.c: Don't include bcache.h. + * buildsym.c (buildsym_compunit::get_macro_table): Update. + * bcache.h (bcache, bcache_full, bcache_xffree, bcache_xmalloc) + (print_bcache_statistics, bcache_memory_used): Don't declare. + (struct bcache): Move from bcache.c. Add constructor, destructor, + methods. Rename all data members. + * bcache.c (struct bcache): Move to bcache.h. + (bcache::expand_hash_table): Rename from expand_hash_table. + (bcache): Remove. + (bcache::insert): Rename from bcache_full. + (bcache::compare): Rename from bcache_compare. + (bcache_xmalloc): Remove. + (bcache::~bcache): Rename from bcache_xfree. + (bcache::print_statistics): Rename from print_bcache_statistics. + (bcache::memory_used): Rename from bcache_memory_used. + +2019-03-07 Pedro Alves + + * infrun.c (normal_stop): Also check for + TARGET_WAITKIND_NO_RESUMED before referring to inferior_thread(). + +2019-03-07 Andrew Burgess + + * f-lang.c (value_from_host_double): Moved to... + * value.c (value_from_host_double): ...here. + * value.h (value_from_host_double): Declare. + * guile/scm-math.c (vlscm_convert_typed_number): Use + value_from_host_double. + (vlscm_convert_number): Likewise. + * guile/scm-value.c (gdbscm_value_to_real): Likewise. + * python/py-value.c (convert_value_from_python): Likewise. + +2019-03-06 Tom Tromey + + * gcore.c (write_gcore_file): Use SCOPE_EXIT. + +2019-03-06 Tom Tromey + + * utils.h (free_current_contents): Don't declare. + * utils.c (free_current_contents): Remove. + 2019-03-06 Tom Tromey * top.c (quit_force): Update.