Share windows_thread_info between gdb and gdbserver
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index a9e955304f6539e09a7451476251316fdc761a2e..c2e6d60fd6fe0ef3b6683430ab4562149a699fa6 100644 (file)
@@ -1,3 +1,78 @@
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (struct windows_thread_info): Remove.
+       * nat/windows-nat.h: New file.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (struct windows_thread_info) <tid>: Rename from "id".
+       (thread_rec, windows_add_thread, windows_delete_thread)
+       (windows_continue): Update.
+
+2020-04-08  Tom Tromey  <tromey@adacore.com>
+
+       * windows-nat.c (struct windows_thread_info): Remove typedef.
+       (thread_head): Remove.
+       (thread_list): New global.
+       (thread_rec, windows_add_thread, windows_init_thread_list)
+       (windows_delete_thread, windows_continue): Update.
+
+2020-04-08  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * windows-tdep.h (windows_init_abi): Add comment.
+       (cygwin_init_abi): New declaration.
+       * windows-tdep.c: Split signal enumeration in two, one for
+       Windows and one for Cygwin.
+       (windows_gdb_signal_to_target): Only deal with signal of the
+       Windows OS ABI.
+       (cygwin_gdb_signal_to_target): New function.
+       (windows_init_abi): Rename to windows_init_abi_common, don't set
+       gdb_signal_to_target gdbarch method.  Add new new function with
+       this name.
+       (cygwin_init_abi): New function.
+       * amd64-windows-tdep.c (amd64_windows_init_abi_common): Add
+       comment.  Don't call windows_init_abi.
+       (amd64_windows_init_abi): Add comment, call windows_init_abi.
+       (amd64_cygwin_init_abi): Add comment, call cygwin_init_abi.
+       * i386-windows-tdep.c (i386_windows_init_abi): Rename to
+       i386_windows_init_abi_common, don't call windows_init_abi.  Add
+       a new function of this name.
+       (i386_cygwin_init_abi): New function.
+       (_initialize_i386_windows_tdep): Bind i386_cygwin_init_abi to
+       OS ABI Cygwin.
+
+2020-04-08  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * dwarf2/read.c (read_gdb_index_from_buffer): Remove objfile
+       parameter.c.
+       (dwarf2_read_gdb_index): Update.
+
+2020-04-07  Kamil Rytarowski  <n54@gmx.com>
+
+       * nbsd-tdep.c: Include "objfiles.h".
+       (nbsd_skip_solib_resolver): New.
+       (nbsd_init_abi): Call set_gdbarch_skip_solib_resolver().
+
+2020-04-07  Nitika Achra  <Nitika.Achra@amd.com>
+
+       * dwarf2/loc.c (loclist_describe_location): Call the function decode_debug_loclists_
+       addresses if DWARF version is 5 or more because DW_LLE_start* or DW_LLE_offset_pair
+       with DW_LLE_base_addressx are being emitted in DWARFv5.
+       Add the newly added kind DW_LOC_OFFSET_PAIR also.
+       The length of location description is an unsigned ULEB integer in DWARFv5 instead of
+       unsigned integer.
+
+2020-04-07  Nitika Achra  <Nitika.Achra@amd.com>
+
+       * dwarf2/loc.c (enum debug_loc_kind): Add a new kind DEBUG_LOC_OFFSET_PAIR.
+       (dwarf2_find_location_expression): Call the function decode_debug_loclists_
+       addresses if DWARF version is 5 or more. DW_LLE_start* or DW_LLE_offset_pair
+       with DW_LLE_base_addressx are being emitted in DWARFv5 instead of DW_LLE_GNU*.
+       Add applicable base address if the entry is DW_LLE_offset_pair from DWO.
+       (decode_debug_loclists_addresses): Return DEBUG_LOC_OFFSET_PAIR instead of
+       DEBUG_LOC_START_END in case of DW_LLE_offset_pair.
+
+
 2020-04-07  Nitika Achra  <Nitika.Achra@amd.com>
 
        * dwarf2/read.c (cu_debug_loc_section): Added the declaration for the function.
This page took 0.023344 seconds and 4 git commands to generate.