diff options
author | 2021-08-25 08:29:43 (GMT) | |
---|---|---|
committer | 2021-08-25 08:29:49 (GMT) | |
commit | 86e7788dd00514c60ca0ee291c546cf92b4b38e1 (patch) | |
tree | a4ecefc9fc61ea85546f8baf9568597ad509459d /packages/gdb/10.2/0003-WIP-end-of-prologue-detection-hack.patch | |
parent | d45664d144651c4ed97b48e373488086de302f68 (diff) | |
parent | 5463ab4bf6a0ba13e77c0d5d9cb4c2a4656639ca (diff) |
Merge branch 'gdb-10' of https://github.com/cpackham/crosstool-ng
Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'packages/gdb/10.2/0003-WIP-end-of-prologue-detection-hack.patch')
-rw-r--r-- | packages/gdb/10.2/0003-WIP-end-of-prologue-detection-hack.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/gdb/10.2/0003-WIP-end-of-prologue-detection-hack.patch b/packages/gdb/10.2/0003-WIP-end-of-prologue-detection-hack.patch new file mode 100644 index 0000000..9622ae9 --- /dev/null +++ b/packages/gdb/10.2/0003-WIP-end-of-prologue-detection-hack.patch @@ -0,0 +1,26 @@ +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 +@@ -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. */ |