Open thorstent opened 7 years ago
Looks like this is a duplicate of #1678 but since that one sat there we'll close it and have this remain.
Adding to the minimal steps:
Run the add-auto-load-safe-path command in gdb (or place into .gdbinit)
Contributions welcome.
Let's consider this issue covering reviving the libdynamorio.so-gdb.py script in general and having it auto-load DR symbols.
For the particular wrong address issue it may have the base library address wrong somehow; xref https://github.com/DynamoRIO/dynamorio/blob/master/tools/gdb-scripts/gdb-drsymload.py referenced at https://dynamorio.org/page_debugging.html#autotoc_md143
I'm running DynamoRIO on a fresh Ubuntu 16.10 64bit VM in VirtualBox (Host is Windows).
I am using DynamoRIO 6.2 binary release. But the problem persists with the latest nightly 6.2.17144-0x12112de
My ~/.gdbinit file constists of these two lines:
The minimal steps to reproduce this problem are:
~/Downloads/DynamoRIO-Linux-6.2.0-2$ gdb --args bin64/drrun -debug -- ls
run
into the GDB command promptHere is the complete output:
I would expect the python script to run and not throw a memory exception. The same problems I observed in my Debian Jessie VM.