Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gdb/dist/gdb Revive entrypoint heuristics, acc...



details:   https://anonhg.NetBSD.org/src/rev/de1adb736f6c
branches:  trunk
changeset: 933239:de1adb736f6c
user:      rin <rin%NetBSD.org@localhost>
date:      Sat May 23 00:30:40 2020 +0000

description:
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...

diffstat:

 external/gpl3/gdb/dist/gdb/alpha-tdep.c |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r 664a76c8eba8 -r de1adb736f6c external/gpl3/gdb/dist/gdb/alpha-tdep.c
--- a/external/gpl3/gdb/dist/gdb/alpha-tdep.c   Sat May 23 00:07:27 2020 +0000
+++ b/external/gpl3/gdb/dist/gdb/alpha-tdep.c   Sat May 23 00:30:40 2020 +0000
@@ -1825,6 +1825,9 @@
   /* 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);



Home | Main Index | Thread Index | Old Index