summaryrefslogtreecommitdiff
path: root/packages/gdb/7.10.1
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gdb/7.10.1')
-rw-r--r--packages/gdb/7.10.1/0000-musl_fix.patch33
-rw-r--r--packages/gdb/7.10.1/0001-xtensa-initialize-call_abi-in-xtensa_tdep.patch34
-rw-r--r--packages/gdb/7.10.1/0002-xtensa-make-sure-ar_base-is-initialized.patch30
-rw-r--r--packages/gdb/7.10.1/0003-WIP-end-of-prologue-detection-hack.patch26
-rw-r--r--packages/gdb/7.10.1/chksum8
-rw-r--r--packages/gdb/7.10.1/version.desc1
6 files changed, 0 insertions, 132 deletions
diff --git a/packages/gdb/7.10.1/0000-musl_fix.patch b/packages/gdb/7.10.1/0000-musl_fix.patch
deleted file mode 100644
index 9f1b930..0000000
--- a/packages/gdb/7.10.1/0000-musl_fix.patch
+++ /dev/null
@@ -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"
-@@ -73,6 +74,10 @@
- #define SPUFS_MAGIC 0x23c9b64e
- #endif
-
-+#ifndef __SIGRTMIN
-+#define __SIGRTMIN SIGRTMIN
-+#endif
-+
- /* This comment documents high-level logic of this file.
-
- Waiting for events in sync mode
---- /dev/null
-+++ b/gdb/stopcode.h
-@@ -0,0 +1,4 @@
-+#ifndef W_STOPCODE
-+#define W_STOPCODE(sig) ((sig) << 8 | 0x7f)
-+#endif
-+
diff --git a/packages/gdb/7.10.1/0001-xtensa-initialize-call_abi-in-xtensa_tdep.patch b/packages/gdb/7.10.1/0001-xtensa-initialize-call_abi-in-xtensa_tdep.patch
deleted file mode 100644
index afa7083..0000000
--- a/packages/gdb/7.10.1/0001-xtensa-initialize-call_abi-in-xtensa_tdep.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 7f8c0d8984bf5754807d3bb543cbc3ffc634e9e4 Mon Sep 17 00:00:00 2001
-From: Max Filippov <jcmvbkbc@gmail.com>
-Date: Sat, 30 May 2015 13:00:32 +0300
-Subject: [PATCH] xtensa: initialize call_abi in xtensa_tdep
-
-Use XSHAL_ABI value provided by xtensa-config.h to correctly initialize
-xtensa_tdep.call_abi
-This fixes calls to functions from GDB that otherwise fail with the
-following assertion in call0 configuration:
-
- gdb/regcache.c:602: internal-error: regcache_raw_read: Assertion
- `regnum >= 0 && regnum < regcache->descr->nr_raw_registers' failed.
-
-gdb/
- * xtensa-tdep.h (XTENSA_GDBARCH_TDEP_INSTANTIATE): Initialize
- call_abi using XSHAL_ABI macro.
-
-Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
----
- gdb/xtensa-tdep.h | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- a/gdb/xtensa-tdep.h
-+++ b/gdb/xtensa-tdep.h
-@@ -246,7 +246,8 @@
- .spill_location = -1, \
- .spill_size = (spillsz), \
- .unused = 0, \
-- .call_abi = 0, \
-+ .call_abi = (XSHAL_ABI == XTHAL_ABI_CALL0) ? \
-+ CallAbiCall0Only : CallAbiDefault, \
- .debug_interrupt_level = XCHAL_DEBUGLEVEL, \
- .icache_line_bytes = XCHAL_ICACHE_LINESIZE, \
- .dcache_line_bytes = XCHAL_DCACHE_LINESIZE, \
diff --git a/packages/gdb/7.10.1/0002-xtensa-make-sure-ar_base-is-initialized.patch b/packages/gdb/7.10.1/0002-xtensa-make-sure-ar_base-is-initialized.patch
deleted file mode 100644
index 653f0e2..0000000
--- a/packages/gdb/7.10.1/0002-xtensa-make-sure-ar_base-is-initialized.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 208ea73d38c9c16cf983b6419f58050dbadcb6a9 Mon Sep 17 00:00:00 2001
-From: Max Filippov <jcmvbkbc@gmail.com>
-Date: Sun, 7 Jun 2015 22:43:49 +0300
-Subject: [PATCH 2/2] xtensa: make sure ar_base is initialized
-
-ar_base is uninitialized for cores w/o windowed registers as their
-regmap doesn't have register 0x0100.
-Check that ar_base is initialized and if not initialize it with a0_base.
-
-gdb/
- * xtensa-tdep.c (xtensa_derive_tdep): Make sure ar_base is
- initialized.
-
-Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
----
- gdb/xtensa-tdep.c | 3 +++
- 1 file changed, 3 insertions(+)
-
---- a/gdb/xtensa-tdep.c
-+++ b/gdb/xtensa-tdep.c
-@@ -3175,6 +3175,9 @@
- tdep->num_regs = n;
- }
-
-+ if (tdep->ar_base == -1)
-+ tdep->ar_base = tdep->a0_base;
-+
- /* Number of pseudo registers. */
- tdep->num_pseudo_regs = n - tdep->num_regs;
-
diff --git a/packages/gdb/7.10.1/0003-WIP-end-of-prologue-detection-hack.patch b/packages/gdb/7.10.1/0003-WIP-end-of-prologue-detection-hack.patch
deleted file mode 100644
index f47b494..0000000
--- a/packages/gdb/7.10.1/0003-WIP-end-of-prologue-detection-hack.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 7f8eacbb468575fb67db7fd1155a3aedaa91911b Mon Sep 17 00:00:00 2001
-From: Max Filippov <jcmvbkbc@gmail.com>
-Date: Sun, 7 Jun 2015 23:15:39 +0300
-Subject: [PATCH] WIP: *end of prologue* detection hack
-
-see
- http://www.esp8266.com/viewtopic.php?p=18461#p18461
- http://www.esp8266.com/viewtopic.php?p=19026#p19026
- http://www.esp8266.com/viewtopic.php?p=19683#p19683
-
-Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
----
- gdb/xtensa-tdep.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/gdb/xtensa-tdep.c
-+++ b/gdb/xtensa-tdep.c
-@@ -2410,7 +2410,7 @@
- /* Find out, if we have an information about the prologue from DWARF. */
- prologue_sal = find_pc_line (start, 0);
- if (prologue_sal.line != 0) /* Found debug info. */
-- body_pc = prologue_sal.end;
-+ body_pc = prologue_sal.end + 40;
-
- /* If we are going to analyze the prologue in general without knowing about
- the current PC, make the best assumtion for the end of the prologue. */
diff --git a/packages/gdb/7.10.1/chksum b/packages/gdb/7.10.1/chksum
deleted file mode 100644
index a6f0025..0000000
--- a/packages/gdb/7.10.1/chksum
+++ /dev/null
@@ -1,8 +0,0 @@
-md5 gdb-7.10.1.tar.xz 39e654460c9cdd80200a29ac020cfe11
-sha1 gdb-7.10.1.tar.xz 7d67703b31444ae41d8b8707455b97d3fac4ad65
-sha256 gdb-7.10.1.tar.xz 25c72f3d41c7c8554d61cacbeacd5f40993276d2ccdec43279ac546e3993d6d5
-sha512 gdb-7.10.1.tar.xz 17a5138277a31685a5c2a841cb47ed9bc4626ea617b8ca77750513b300299f4fbbffe504958b5372de610dcb952c679cf8fa9c1bdadd380294fbf59b6e366010
-md5 gdb-7.10.1.tar.gz b93a2721393e5fa226375b42d567d90b
-sha1 gdb-7.10.1.tar.gz f5a47daa50df3b79a73c7c717363ee3a7e040e07
-sha256 gdb-7.10.1.tar.gz ff14f8050e6484508c73cbfa63731e57901478490ca1672dc0b5e2b03f6af622
-sha512 gdb-7.10.1.tar.gz d32faddaab92dd407718dc3ee304a8f6267354f2ccad753d71b6ed9dd51524e2329eba13711f7ae4b690d81bc1510544fabc39b30328463930bd10a60b0939a0
diff --git a/packages/gdb/7.10.1/version.desc b/packages/gdb/7.10.1/version.desc
deleted file mode 100644
index fcfe389..0000000
--- a/packages/gdb/7.10.1/version.desc
+++ /dev/null
@@ -1 +0,0 @@
-obsolete='yes'