diff options
author | Hans-Christian Noren Egtvedt <hegtvedt@cisco.com> | 2022-02-07 12:53:07 (GMT) |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2022-02-08 07:52:48 (GMT) |
commit | 803f9b84f6ab4aa10f39139fb35add4de8e42455 (patch) | |
tree | 02090e78cdd9dbc2edf631f91bd20b9d8f642967 /packages/gdb/11.2/0001-WIP-end-of-prologue-detection-hack.patch | |
parent | 5a4c95d658eddaf7e7cd3b4c2951875a8e427e2e (diff) |
packages/gdb: add gdb-11.2
Forward port patches from gdb-11.1, as they still apply clean, hence
still assumed to be relevant.
Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
Diffstat (limited to 'packages/gdb/11.2/0001-WIP-end-of-prologue-detection-hack.patch')
-rw-r--r-- | packages/gdb/11.2/0001-WIP-end-of-prologue-detection-hack.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/gdb/11.2/0001-WIP-end-of-prologue-detection-hack.patch b/packages/gdb/11.2/0001-WIP-end-of-prologue-detection-hack.patch new file mode 100644 index 0000000..5eec5d6 --- /dev/null +++ b/packages/gdb/11.2/0001-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 +@@ -2377,7 +2377,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. */ |