gdb: Update to 13.2

Update the devel/gdb package to version 13.2

* Remove the upstreamed patch 001-Add-support-for-readline-8.2.patch
* Adjust 130-gdb-ctrl-c.patch to upstream changes

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
Hannu Nyman
2023-11-07 20:55:58 +02:00
committed by Nick Hainke
parent a7a94bc4f0
commit f79de8ec65
4 changed files with 15 additions and 46 deletions

View File

@@ -24,12 +24,12 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
--- a/gdbserver/linux-low.cc
+++ b/gdbserver/linux-low.cc
@@ -5496,7 +5496,7 @@ linux_process_target::request_interrupt
@@ -5467,7 +5467,7 @@ linux_process_target::request_interrupt
{
/* Send a SIGINT to the process group. This acts just like the user
typed a ^C on the controlling terminal. */
- ::kill (-signal_pid, SIGINT);
+ ::kill (signal_pid, SIGINT);
}
bool
- int res = ::kill (-signal_pid, SIGINT);
+ int res = ::kill (signal_pid, SIGINT);
if (res == -1)
warning (_("Sending SIGINT to process group of pid %ld failed: %s"),
signal_pid, safe_strerror (errno));