Module Name: src
Committed By: rin
Date: Sat May 23 00:30:40 UTC 2020
Modified Files:
src/external/gpl3/gdb/dist/gdb: alpha-tdep.c
Log Message:
Revive entrypoint heuristics, accidentally removed in the previous.
Now, e.g., "b main" works again for "gdb /bin/echo" as expected.
See more details:
http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl3/gdb/dist/gdb/alpha-tdep.c#rev1.2
XXX
Single-stepping into shared libraries still fails sometimes;
tracee does not stop at a function in shared library.
We need further analysis...
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gdb/dist/gdb/alpha-tdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gdb/dist/gdb/alpha-tdep.c
diff -u src/external/gpl3/gdb/dist/gdb/alpha-tdep.c:1.4 src/external/gpl3/gdb/dist/gdb/alpha-tdep.c:1.5
--- src/external/gpl3/gdb/dist/gdb/alpha-tdep.c:1.4 Sun May 26 21:40:01 2019
+++ src/external/gpl3/gdb/dist/gdb/alpha-tdep.c Sat May 23 00:30:40 2020
@@ -1825,6 +1825,9 @@ alpha_gdbarch_init (struct gdbarch_info
/* Prologue heuristics. */
set_gdbarch_skip_prologue (gdbarch, alpha_skip_prologue);
+ /* Entrypoint heuristics. */
+ set_gdbarch_skip_entrypoint (gdbarch, alpha_skip_entrypoint);
+
/* Call info. */
set_gdbarch_return_value (gdbarch, alpha_return_value);