From 602c7adb33870c791e3bd33019f64e9ed776cba2 Mon Sep 17 00:00:00 2001 From: Patrick Monnerat Date: Fri, 26 Aug 2022 12:58:17 +0200 Subject: [PATCH] Upgrade submodule, sync patch. --- binutils-gdb | 2 +- patches/binutils-gdb/009-windows-stop.patch | 19 +++++++++---------- 2 files changed, 10 insertions(+), 11 deletions(-) mode change 100755 => 100644 patches/binutils-gdb/009-windows-stop.patch diff --git a/binutils-gdb b/binutils-gdb index bac814a..3055522 160000 --- a/binutils-gdb +++ b/binutils-gdb @@ -1 +1 @@ -Subproject commit bac814af175e89d73b3bdda98d25d684ab5b3e7b +Subproject commit 3055522ab17ac7c6781a3507ebac0fab1c3aa5a4 diff --git a/patches/binutils-gdb/009-windows-stop.patch b/patches/binutils-gdb/009-windows-stop.patch old mode 100755 new mode 100644 index 4380df7..e4ccabf --- a/patches/binutils-gdb/009-windows-stop.patch +++ b/patches/binutils-gdb/009-windows-stop.patch @@ -1,12 +1,11 @@ Implement windows_nat_target::stop As this did not exist, insight stop button was inoperant. -diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c -index a26d6eac816..631bd9ea529 100644 ---- a/gdb/windows-nat.c -+++ b/gdb/windows-nat.c -@@ -246,6 +246,8 @@ struct windows_nat_target final : public - { +diff -Naurp a/gdb/windows-nat.c b/gdb/windows-nat.c +--- a/gdb/windows-nat.c 2022-08-26 12:36:02.048452799 +0200 ++++ b/gdb/windows-nat.c 2022-08-26 12:42:34.302409977 +0200 +@@ -252,6 +252,8 @@ struct windows_nat_target final : public + void close () override; + void stop (ptid_t) override; @@ -14,7 +13,7 @@ index a26d6eac816..631bd9ea529 100644 void attach (const char *, int) override; bool attach_no_wait () override -@@ -1322,24 +1324,10 @@ windows_nat_target::resume (ptid_t ptid, +@@ -1504,24 +1506,10 @@ windows_nat_target::resume (ptid_t ptid, windows_continue (continue_status, ptid.lwp (), 0); } @@ -42,7 +41,7 @@ index a26d6eac816..631bd9ea529 100644 #ifdef __x86_64__ if (windows_process.wow64_process) { -@@ -1371,6 +1359,27 @@ ctrl_c_handler (DWORD event_type) +@@ -1553,6 +1541,27 @@ ctrl_c_handler (DWORD event_type) warning (_("Could not interrupt program. " "Press Ctrl-c in the program console.")); } @@ -70,8 +69,8 @@ index a26d6eac816..631bd9ea529 100644 /* Return true to tell that Ctrl-C has been handled. */ return TRUE; -@@ -2740,6 +2749,12 @@ windows_nat_target::close () - DEBUG_EVENTS ("inferior_ptid=%d\n", inferior_ptid.pid ()); +@@ -2940,6 +2949,12 @@ windows_nat_target::close () + async (false); } +void -- 2.43.5