Skip to content

Commit

Permalink
gdb: fix one missing cygwin dll rename
Browse files Browse the repository at this point in the history
noticed while refreshing the patches
  • Loading branch information
lazka committed Feb 3, 2025
1 parent a62ef66 commit 0aa8d6c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions gdb/1005-msysize.patch
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,20 @@ index d46de87f238..971efd086c0 100644
{
asection *text = NULL;

--- gdb-14.2/gdb/windows-tdep.c.orig 2025-02-03 17:39:53.204129800 +0100
+++ gdb-14.2/gdb/windows-tdep.c 2025-02-03 18:32:18.712714400 +0100
@@ -38,7 +38,11 @@
#include "libcoff.h"
#include "solist.h"

+#ifdef __MSYS__
+#define CYGWIN_DLL_NAME "msys-2.0.dll"
+#else
#define CYGWIN_DLL_NAME "cygwin1.dll"
+#endif

/* Windows signal numbers differ between MinGW flavors and between
those and Cygwin. The below enumerations were gleaned from the
--- gdb-14.2/libctf/configure.ac.orig 2024-03-03 06:55:00.000000000 +0100
+++ gdb-14.2/libctf/configure.ac 2025-02-03 17:10:13.336687000 +0100
@@ -227,7 +227,7 @@
Expand Down
2 changes: 1 addition & 1 deletion gdb/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ sha256sums=('2d4dd8061d8ded12b6c63f55e45344881e8226105f4d2a9b234040efa5ce7772'
'15c7397d85b4f43ac22d5e81565de0d8d0a0b6473db2ab9a04fbb72f061fbf4e'
'06f96b9a455344d1cc85b202fb65450fe3097005d39a680cc7945a8178ea9976'
'268c35db936435f1d38c318956fffec14fd90f2bba085537cd5a44183f05a469'
'51f531d06d864b76e1f3f811604e23628718b4fe827f9a59da0fc00a524c6215'
'5d497e908e195f416d1cb54d4023706ef8aeae16c753c704db6af0db75768686'
'66e0c1c6c6878b39da16c163d84b1ea303b0875b3ca6ccfef6d64872ecac9faa')

prepare() {
Expand Down

0 comments on commit 0aa8d6c

Please sign in to comment.