Ensure correct symbol-file when attaching to a (remote) process
Jan Kratochvil
jan.kratochvil@redhat.com
Fri Dec 21 16:11:00 GMT 2012
On Fri, 21 Dec 2012 07:05:37 +0100, Raphael Zulliger wrote:
> Is there really no such mechanism in GDB?
There is no such reliable mechanism in general.
One could verify build-id in the target, probably that the build-id note is at
the same VMA as present in the local symbol file.
But then also many binaries/compilers do not provide build-id by default (ld
option --build-id).
Jan
More information about the Gdb
mailing list