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.patch (renamed from packages/gdb/7.10.1/100-musl_fix.patch)5
-rw-r--r--packages/gdb/7.10.1/0001-xtensa-initialize-call_abi-in-xtensa_tdep.patch (renamed from packages/gdb/7.10.1/110-xtensa-initialize-call_abi-in-xtensa_tdep.patch)9
-rw-r--r--packages/gdb/7.10.1/0002-xtensa-make-sure-ar_base-is-initialized.patch (renamed from packages/gdb/7.10.1/111-xtensa-make-sure-ar_base-is-initialized.patch)9
-rw-r--r--packages/gdb/7.10.1/0003-WIP-end-of-prologue-detection-hack.patch (renamed from packages/gdb/7.10.1/112-WIP-end-of-prologue-detection-hack.patch)9
4 files changed, 11 insertions, 21 deletions
diff --git a/packages/gdb/7.10.1/100-musl_fix.patch b/packages/gdb/7.10.1/0000-musl_fix.patch
index c0c1e0a..9f1b930 100644
--- a/packages/gdb/7.10.1/100-musl_fix.patch
+++ b/packages/gdb/7.10.1/0000-musl_fix.patch
@@ -1,3 +1,8 @@
+---
+ 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 @@
diff --git a/packages/gdb/7.10.1/110-xtensa-initialize-call_abi-in-xtensa_tdep.patch b/packages/gdb/7.10.1/0001-xtensa-initialize-call_abi-in-xtensa_tdep.patch
index 1182a45..afa7083 100644
--- a/packages/gdb/7.10.1/110-xtensa-initialize-call_abi-in-xtensa_tdep.patch
+++ b/packages/gdb/7.10.1/0001-xtensa-initialize-call_abi-in-xtensa_tdep.patch
@@ -17,14 +17,12 @@ gdb/
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
---
- gdb/xtensa-tdep.h | 3 ++-
+ gdb/xtensa-tdep.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
-diff --git a/gdb/xtensa-tdep.h b/gdb/xtensa-tdep.h
-index adacaf8..3b6ea66 100644
--- a/gdb/xtensa-tdep.h
+++ b/gdb/xtensa-tdep.h
-@@ -246,7 +246,8 @@ struct gdbarch_tdep
+@@ -246,7 +246,8 @@
.spill_location = -1, \
.spill_size = (spillsz), \
.unused = 0, \
@@ -34,6 +32,3 @@ index adacaf8..3b6ea66 100644
.debug_interrupt_level = XCHAL_DEBUGLEVEL, \
.icache_line_bytes = XCHAL_ICACHE_LINESIZE, \
.dcache_line_bytes = XCHAL_DCACHE_LINESIZE, \
---
-1.8.1.4
-
diff --git a/packages/gdb/7.10.1/111-xtensa-make-sure-ar_base-is-initialized.patch b/packages/gdb/7.10.1/0002-xtensa-make-sure-ar_base-is-initialized.patch
index 982bd7f..653f0e2 100644
--- a/packages/gdb/7.10.1/111-xtensa-make-sure-ar_base-is-initialized.patch
+++ b/packages/gdb/7.10.1/0002-xtensa-make-sure-ar_base-is-initialized.patch
@@ -13,14 +13,12 @@ gdb/
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
---
- gdb/xtensa-tdep.c | 3 +++
+ gdb/xtensa-tdep.c | 3 +++
1 file changed, 3 insertions(+)
-diff --git a/gdb/xtensa-tdep.c b/gdb/xtensa-tdep.c
-index 55e7d98..41f5ec1 100644
--- a/gdb/xtensa-tdep.c
+++ b/gdb/xtensa-tdep.c
-@@ -3175,6 +3175,9 @@ xtensa_derive_tdep (struct gdbarch_tdep *tdep)
+@@ -3175,6 +3175,9 @@
tdep->num_regs = n;
}
@@ -30,6 +28,3 @@ index 55e7d98..41f5ec1 100644
/* Number of pseudo registers. */
tdep->num_pseudo_regs = n - tdep->num_regs;
---
-1.8.1.4
-
diff --git a/packages/gdb/7.10.1/112-WIP-end-of-prologue-detection-hack.patch b/packages/gdb/7.10.1/0003-WIP-end-of-prologue-detection-hack.patch
index 506a57c..f47b494 100644
--- a/packages/gdb/7.10.1/112-WIP-end-of-prologue-detection-hack.patch
+++ b/packages/gdb/7.10.1/0003-WIP-end-of-prologue-detection-hack.patch
@@ -10,14 +10,12 @@ see
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
---
- gdb/xtensa-tdep.c | 2 +-
+ gdb/xtensa-tdep.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-diff --git a/gdb/xtensa-tdep.c b/gdb/xtensa-tdep.c
-index 41f5ec1..6a7dba7 100644
--- a/gdb/xtensa-tdep.c
+++ b/gdb/xtensa-tdep.c
-@@ -2410,7 +2410,7 @@ call0_analyze_prologue (struct gdbarch *gdbarch,
+@@ -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. */
@@ -26,6 +24,3 @@ index 41f5ec1..6a7dba7 100644
/* 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. */
---
-1.8.1.4
-