mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-31 08:25:32 +00:00
gdb10: Update existing patches
As easy as: ./maintainer/manage-packages.sh --update-patches --select gdb-10.2 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
This commit is contained in:
parent
3b97480638
commit
d6eeff01a6
33
packages/gdb/10.2/0000-musl_fix.patch
vendored
33
packages/gdb/10.2/0000-musl_fix.patch
vendored
@ -1,33 +0,0 @@
|
||||
---
|
||||
gdb/linux-nat.c | 5 +++++
|
||||
gdb/stopcode.h | 4 ++++
|
||||
2 files changed, 9 insertions(+)
|
||||
|
||||
--- a/gdb/linux-nat.c
|
||||
+++ b/gdb/linux-nat.c
|
||||
@@ -17,6 +17,7 @@
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
+#include "stopcode.h"
|
||||
#include "defs.h"
|
||||
#include "inferior.h"
|
||||
#include "infrun.h"
|
||||
@@ -70,6 +71,10 @@
|
||||
#include "gdbsupport/gdb-sigmask.h"
|
||||
#include "debug.h"
|
||||
|
||||
+#ifndef __SIGRTMIN
|
||||
+#define __SIGRTMIN SIGRTMIN
|
||||
+#endif
|
||||
+
|
||||
/* This comment documents high-level logic of this file.
|
||||
|
||||
Waiting for events in sync mode
|
||||
--- a/gdb/stopcode.h
|
||||
+++ b/gdb/stopcode.h
|
||||
@@ -0,0 +1,4 @@
|
||||
+#ifndef W_STOPCODE
|
||||
+#define W_STOPCODE(sig) ((sig) << 8 | 0x7f)
|
||||
+#endif
|
||||
+
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
gdb/gdbserver/configure | 11 -----------
|
||||
gdb/gdbserver/configure.ac | 11 -----------
|
||||
gdbserver/configure | 11 -----------
|
||||
gdbserver/configure.ac | 11 -----------
|
||||
2 files changed, 22 deletions(-)
|
||||
|
||||
--- a/gdbserver/configure
|
@ -15,21 +15,16 @@ Initially caught by https://github.com/crosstool-ng/crosstool-ng/pull/1573/check
|
||||
|
||||
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
|
||||
---
|
||||
gdb/xtensa-linux-nat.c | 1 +
|
||||
gdb/xtensa-linux-nat.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/gdb/xtensa-linux-nat.c b/gdb/xtensa-linux-nat.c
|
||||
index b2b3db182bc..03f3ba7b50a 100644
|
||||
--- a/gdb/xtensa-linux-nat.c
|
||||
+++ b/gdb/xtensa-linux-nat.c
|
||||
@@ -34,6 +34,7 @@
|
||||
#include "nat/gdb_ptrace.h"
|
||||
#include <asm/ptrace.h>
|
||||
|
||||
|
||||
+#include "gdbarch.h"
|
||||
#include "gregset.h"
|
||||
#include "xtensa-tdep.h"
|
||||
|
||||
--
|
||||
2.16.2
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user