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:
Alexey Brodkin 2021-09-10 10:08:47 -07:00
parent 3b97480638
commit d6eeff01a6
6 changed files with 5 additions and 43 deletions

View File

@ -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
+

View File

@ -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

View File

@ -15,11 +15,9 @@ 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 @@
@ -30,6 +28,3 @@ index b2b3db182bc..03f3ba7b50a 100644
#include "gregset.h"
#include "xtensa-tdep.h"
--
2.16.2