Skip navigation.

Posts tagged with "gdb"

GDB tips

Tips
1. "Failed to read a valid object file image from memory."
This seems to be a well known problem, please refer to this post for detailed
information. The problem is related to linux virtual Dynamic Shared Object (vDSO), kept
in linux-gate.so.1. You could set "CONFIG_COMPAT_VDSO" to "n" and recompile the kernel
to solve the problem. However, I found out that we can set kernel boot option "vdso=0"
to solve the problem.

Links
Peter's gdb Tutorial
RMS's gdb Tutorial