Closed leftmostcat closed 2 years ago
Can we have the full Ghidra logs?
application.log Attached is a full run of ghidra including the failed gdb open.
Ok, thanks.
We can fix the libutil.so
error by adding the environment var LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
.
Then it complains about gdb
. I was able to fix that by installing runtime/org.freedesktop.Sdk/x86_64/21.08
and adding --devel
in the flapak run
command.
@hadess Is it possible to use --devel
for regular use?
@leftmostcat You can try the fix: flatpak install --user https://dl.flathub.org/build-repo/92465/org.ghidra_sre.Ghidra.flatpakref
Is your test application a win32 application? I don't know how well launching an x86_64 gdb would work against a win32 binary.
I didn't see the libutil.so
problems when debugging an x86_64 binary, so please open a new issue if you still see the problem with the latest version of Ghidra.
Sorry for the lack of response; the previous fix worked for me and I've just confirmed that the updated flatpak works as well, with a 32-bit binary on a 64-bit system. (It's enough to run the x86_64 gdb and connect to an already-running mingw i686 gdbserver.)
Working for me too.
I am opening a file in the debugger, adding a debugger target for the
IN-VM GNU gdb local debugger
. When I press the Connect button, I receive the following error message: