Split rank_one_type_parm_complex from rank_one_type
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index b17b6a98820b9558ba4a873737c3535edfc28f98..4ad92916e15fa972e084a223f70d68b68e76a817 100644 (file)
@@ -1,3 +1,248 @@
+2019-03-08  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.c (rank_one_type_parm_complex): New function extracted
+       from...
+       (rank_one_type): ... this.
+
+2019-03-08  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.c (rank_one_type_parm_float): New function extracted
+       from...
+       (rank_one_type): ... this.
+
+2019-03-08  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.c (rank_one_type_parm_bool): New function extracted
+       from...
+       (rank_one_type): ... this.
+
+2019-03-08  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.c (rank_one_type_parm_range): New function extracted
+       from...
+       (rank_one_type): ... this.
+
+2019-03-08  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.c (rank_one_type_parm_char): New function extracted
+       from...
+       (rank_one_type): ... this.
+
+2019-03-08  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.c (rank_one_type_parm_enum): New function extracted
+       from...
+       (rank_one_type): ... this.
+
+2019-03-08  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.c (rank_one_type_parm_int): New function extracted
+       from...
+       (rank_one_type): ... this.
+
+2019-03-08  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.c (rank_one_type_parm_func): New function extracted
+       from...
+       (rank_one_type): ... this.
+
+2019-03-08  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.c (rank_one_type_parm_array): New function extracted
+       from...
+       (rank_one_type): ... this.
+
+2019-03-08  Simon Marchi  <simon.marchi@efficios.com>
+
+       * gdbtypes.c (rank_one_type_parm_ptr): New function extracted
+       from...
+       (rank_one_type): ... this.
+
+2019-02-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
+
+       * inferior.c (initialize_inferiors): Ensure 'help set/show print
+       inferior-events' shows the example events.
+
+2019-03-08  Eli Zaretskii  <eliz@gnu.org>
+
+       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  <tom@tromey.com>
+
+       * 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) <psymbol_cache>: 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) <filename_cache,
+       macro_cache>: 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  <palves@redhat.com>
+
+       * infrun.c (normal_stop): Also check for
+       TARGET_WAITKIND_NO_RESUMED before referring to inferior_thread().
+
+2019-03-07  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * 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  <tom@tromey.com>
+
+       * gcore.c (write_gcore_file): Use SCOPE_EXIT.
+
+2019-03-06  Tom Tromey  <tom@tromey.com>
+
+       * utils.h (free_current_contents): Don't declare.
+       * utils.c (free_current_contents): Remove.
+
+2019-03-06  Tom Tromey  <tom@tromey.com>
+
+       * top.c (quit_force): Update.
+       * main.c (captured_command_loop): Update.
+       * common/new-op.c (operator new): Update.
+       * common/common-exceptions.c (struct catcher)
+       <save_cleanup_chain>: Remove member.
+       (exceptions_state_mc_init): Update.
+       (exception_try_scope_entry): Return nullptr.
+       (exception_try_scope_exit, exception_rethrow)
+       (throw_exception_sjlj, throw_exception_cxx): Update.
+       * common/cleanups.h (make_cleanup, make_cleanup_dtor)
+       (all_cleanups, do_cleanups, discard_cleanups)
+       (discard_final_cleanups, save_cleanups, save_final_cleanups)
+       (restore_cleanups, restore_final_cleanups): Don't declare.
+       (do_final_cleanups): Remove parameter.
+       * common/cleanups.c (cleanup_chain, make_cleanup)
+       (make_cleanup_dtor, all_cleanups, do_cleanups)
+       (discard_my_cleanups, discard_cleanups)
+       (discard_final_cleanups, save_my_cleanups, save_cleanups)
+       (save_final_cleanups, restore_my_cleanups, restore_cleanups)
+       (null_cleanup): Remove.
+       (do_final_cleanups): Remove parameter.
+
+2019-03-06  Tom Tromey  <tom@tromey.com>
+
+       * remote.c (remote_target::remote_parse_stop_reply): Use
+       unique_xmalloc_ptr.
+
+2019-03-06  Tom Tromey  <tom@tromey.com>
+
+       * stabsread.c (struct stabs_field_info): Rename from field_info.
+       <list, fnlist>: Add initializers.
+       <obstack>: New member.
+       (read_member_functions, read_struct_fields, read_baseclasses):
+       Allocate on obstack.  Don't use cleanups.
+       (read_one_struct_field, read_member_functions, read_struct_fields)
+       (read_baseclasses, read_tilde_fields, attach_fn_fields_to_type)
+       (attach_fields_to_type, read_cpp_abbrev, read_member_functions)
+       (read_struct_type): Update.
+
+2019-03-06  Tom Tromey  <tom@tromey.com>
+
+       * nat/linux-namespaces.c (linux_mntns_access_fs): Use SCOPE_EXIT.
+       * common/filestuff.h (make_cleanup_close): Don't declare.
+       * common/filestuff.c (do_close_cleanup, make_cleanup_close):
+       Remove.
+
+2019-03-06  Tom Tromey  <tom@tromey.com>
+
+       * solib-aix.c: Use make_scope_exit.
+
+2019-03-06  Tom Tromey  <tom@tromey.com>
+
+       * solib-svr4.c (svr4_parse_libraries, svr4_current_sos_direct):
+       Use make_scope_exit.
+
+2019-03-06  Tom Tromey  <tom@tromey.com>
+
+       * solib-svr4.c (disable_probes_interface): Remove parameter.
+       (svr4_handle_solib_event): Use make_scope_exit.
+
+2019-03-06  Tom Tromey  <tom@tromey.com>
+
+       * remote.c (struct stop_reply_deleter): Remove.
+       (stop_reply_up): Update.
+       (struct stop_reply): Derive from notif_event.  Don't typedef.
+       <regcache>: Now a std::vector.
+       (stop_reply_xfree): Remove.
+       (stop_reply::~stop_reply): Rename from stop_reply_dtr.
+       (remote_notif_stop_alloc_reply): Return a unique_ptr.  Use new.
+       (remote_target::discard_pending_stop_replies): Use delete.
+       (remote_target::remote_parse_stop_reply): Update.
+       (remote_target::process_stop_reply): Update.
+       * remote-notif.h (struct notif_event): Add virtual destructor.
+       Remove "dtr" member.
+       (struct notif_client) <alloc_event>: Return a unique_ptr.
+       (notif_event_xfree): Don't declare.
+       (notif_event_up): New typedef.
+       * remote-notif.c (remote_notif_ack, remote_notif_parse): Update.
+       (notif_event_xfree, do_notif_event_xfree): Remove.
+       (remote_notif_state_xfree): Update.
+
+2019-03-06  Tom Tromey  <tom@tromey.com>
+
+       * infrun.c (displaced_step_clear_cleanup): Now a
+       forward_scope_exit type.
+       (displaced_step_prepare_throw): Update.
+       (displaced_step_fixup): Update.
+
+2019-03-06  Tom Tromey  <tom@tromey.com>
+
+       * inferior.h (class inferior): Update comment.
+       * gdbthread.h (class thread_info): Update comment.
+
 2019-03-06  Joel Brobecker  <brobecker@adacore.com>
            Tom Tromey  <tom@tromey.com>
 
This page took 0.026323 seconds and 4 git commands to generate.