I ported the change to gdb/amd64-tdep.c, which seems to improve stack traces in an analogous way on amd64 as well.
A very simple test case is:
$ gdb /bin/bash (gdb) run [ press Control-C ] (gdb) bt
With the updated gdb, the stack trace has much fewer ?? and more symbols.
I ported the change to gdb/amd64-tdep.c, which seems to improve stack traces in an analogous way on amd64 as well.
A very simple test case is:
$ gdb /bin/bash
(gdb) run
[ press Control-C ]
(gdb) bt
With the updated gdb, the stack trace has much fewer ?? and more symbols.