gdb: select "Cygwin" OS ABI for Cygwin binaries
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 7e844e63ebd0dca7578f754f0cc06c9320f6dc33..68c8bf7471686ddd0db51103ff1cd7add7c8f779 100644 (file)
@@ -1,3 +1,13 @@
+2020-03-16  Simon Marchi  <simon.marchi@efficios.com>
+
+       * windows-tdep.h (is_linked_with_cygwin_dll): New declaration.
+       * windows-tdep.c (CYGWIN_DLL_NAME): New.
+       (pe_import_directory_entry): New struct type.
+       (is_linked_with_cygwin_dll): New function.
+       * amd64-windows-tdep.c (amd64_windows_osabi_sniffer): Select
+       GDB_OSABI_CYGWIN if the BFD is linked with the Cygwin DLL.
+       * i386-windows-tdep.c (i386_windows_osabi_sniffer): Likewise.
+
 2020-03-16  Simon Marchi  <simon.marchi@efficios.com>
 
        * i386-windows-tdep.c: Mass-rename "cygwin" to "windows", except
This page took 0.025077 seconds and 4 git commands to generate.