aboutsummaryrefslogtreecommitdiff
path: root/binutils_patches/0002-added-clear_proceed_status-in-run_command_1-causing-.patch
diff options
context:
space:
mode:
authorXavier ASUS <xavi92psx@gmail.com>2019-10-29 01:20:21 +0100
committerXavier ASUS <xavi92psx@gmail.com>2019-10-29 01:20:21 +0100
commit394922bfd2c9182f3268bff664d4c46a1a6590f7 (patch)
treea47bfafc4d2ec8a3b06020ae2570e4837bb6bee6 /binutils_patches/0002-added-clear_proceed_status-in-run_command_1-causing-.patch
First commit, forked from sourceforge tar
Diffstat (limited to 'binutils_patches/0002-added-clear_proceed_status-in-run_command_1-causing-.patch')
-rw-r--r--binutils_patches/0002-added-clear_proceed_status-in-run_command_1-causing-.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/binutils_patches/0002-added-clear_proceed_status-in-run_command_1-causing-.patch b/binutils_patches/0002-added-clear_proceed_status-in-run_command_1-causing-.patch
new file mode 100644
index 0000000..5493d1b
--- /dev/null
+++ b/binutils_patches/0002-added-clear_proceed_status-in-run_command_1-causing-.patch
@@ -0,0 +1,25 @@
+From 613571635409f08c9eb0460e011616dd16250ecb Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=C3=85ke=20Rehnman?= <ake_rehnman_at_gmail_com>
+Date: Sat, 4 Mar 2017 00:06:10 +0100
+Subject: [PATCH 2/6] added clear_proceed_status in run_command_1 causing run
+ command to hang.
+
+---
+ gdb/infcmd.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/gdb/infcmd.c b/gdb/infcmd.c
+index 976276b694..2050634c29 100644
+--- a/gdb/infcmd.c
++++ b/gdb/infcmd.c
+@@ -675,6 +675,7 @@ run_command_1 (const char *args, int from_tty, enum run_how run_how)
+
+ /* Start the target running. Do not use -1 continuation as it would skip
+ breakpoint right at the entry point. */
++ clear_proceed_status (0);
+ proceed (regcache_read_pc (get_current_regcache ()), GDB_SIGNAL_0);
+
+ /* Since there was no error, there's no need to finish the thread
+--
+2.12.2
+