From 701974efa4d8be23bf6faf0e1eefd7f862642ec7 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Mon, 17 Feb 2020 16:40:38 -0800 Subject: Add gdb-9.1 Signed-off-by: Alexey Neyman --- .../0003-WIP-end-of-prologue-detection-hack.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 packages/gdb/9.1/0003-WIP-end-of-prologue-detection-hack.patch (limited to 'packages/gdb/9.1/0003-WIP-end-of-prologue-detection-hack.patch') diff --git a/packages/gdb/9.1/0003-WIP-end-of-prologue-detection-hack.patch b/packages/gdb/9.1/0003-WIP-end-of-prologue-detection-hack.patch new file mode 100644 index 00000000..9622ae9e --- /dev/null +++ b/packages/gdb/9.1/0003-WIP-end-of-prologue-detection-hack.patch @@ -0,0 +1,26 @@ +From 7f8eacbb468575fb67db7fd1155a3aedaa91911b Mon Sep 17 00:00:00 2001 +From: Max Filippov +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 +--- + gdb/xtensa-tdep.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/gdb/xtensa-tdep.c ++++ b/gdb/xtensa-tdep.c +@@ -2385,7 +2385,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 assumption for the end of the prologue. */ -- cgit v1.2.3