e61c44888a
GDB 8.2.1 brings the following fixes and enhancements over GDB 8.2:
* PR build/23516 (gdb build error under msys+mingw: strip can't handle gdb-add-index.exe)
* PR build/23623 (install-strip fails)
* PR rust/23626 (gdb crashes in upstream rust nil-enum test)
* PR rust/23650 (rust field name access error mentions "foo")
* PR gdb/23663 (gdb 8.1.1: undefined rpl_stat function with musl toolchains)
* PR python/23669 (gdb.execute("show commands") doesn't work)
* PR python/23714 (Command repetition stops working after gdb.execute)
* PR gdb/23838 (8.2 regression for invalid -data-directory)
* PR gdb/23974 ("info os" crash when specifying invalid object)
* PR gdb/23999 (SYMBOL_LANGUAGE assertion failure on AIX)
* PR gdb/24003 (Error when binary searching CUs for a specific DIE when using DWZ)
Remove upstream patch:
0006-Move-is_regular_file-from-common-utils.c-to-filestuf.patch
5de69bdbd0
See:
https://sourceware.org/ml/gdb-announce/2018/msg00004.html
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
56 lines
1.4 KiB
Diff
56 lines
1.4 KiB
Diff
From 7dd846212d46b5d0930c938222181cd305254951 Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Sat, 6 Aug 2016 17:32:50 -0700
|
|
Subject: [PATCH] ppc/ptrace: Define pt_regs uapi_pt_regs on !GLIBC systems
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
[Rebase on gdb 8.0]
|
|
Signed-off-by: Romain Naour <romain.naour@gmail.com>
|
|
---
|
|
gdb/gdbserver/linux-ppc-low.c | 6 ++++++
|
|
gdb/nat/ppc-linux.h | 6 ++++++
|
|
2 files changed, 12 insertions(+)
|
|
|
|
diff --git a/gdb/gdbserver/linux-ppc-low.c b/gdb/gdbserver/linux-ppc-low.c
|
|
index 47428c1529c..841a5e02b9d 100644
|
|
--- a/gdb/gdbserver/linux-ppc-low.c
|
|
+++ b/gdb/gdbserver/linux-ppc-low.c
|
|
@@ -21,7 +21,13 @@
|
|
#include "linux-low.h"
|
|
|
|
#include <elf.h>
|
|
+#if !defined(__GLIBC__)
|
|
+# define pt_regs uapi_pt_regs
|
|
+#endif
|
|
#include <asm/ptrace.h>
|
|
+#if !defined(__GLIBC__)
|
|
+# undef pt_regs
|
|
+#endif
|
|
|
|
#include "arch/ppc-linux-common.h"
|
|
#include "arch/ppc-linux-tdesc.h"
|
|
diff --git a/gdb/nat/ppc-linux.h b/gdb/nat/ppc-linux.h
|
|
index 3d4d4fdc563..5b93af8d3a3 100644
|
|
--- a/gdb/nat/ppc-linux.h
|
|
+++ b/gdb/nat/ppc-linux.h
|
|
@@ -18,7 +18,13 @@
|
|
#ifndef PPC_LINUX_H
|
|
#define PPC_LINUX_H 1
|
|
|
|
+#if !defined(__GLIBC__)
|
|
+# define pt_regs uapi_pt_regs
|
|
+#endif
|
|
#include <asm/ptrace.h>
|
|
+#if !defined(__GLIBC__)
|
|
+# undef pt_regs
|
|
+#endif
|
|
#include <asm/cputable.h>
|
|
|
|
/* This sometimes isn't defined. */
|
|
--
|
|
2.14.4
|
|
|