This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Remote debugging: setting breakpoints in shared libraries


On Tue, 31 Jan 2012 17:16:30 +0100, Klaus Zeitler wrote:
> Now when I try running the same sequence with gdbserver on a remote host
> (and localhost replaced accordingly), gdb doesn't stop at the
> breakpoint. My test program doesn't stop.

It may be affected for example by not yet fixed in that version:
	[patch] [i386] Fix {,un}prelinked libraries for attach/core-load
	http://sourceware.org/ml/gdb-patches/2011-02/msg00630.html
	http://sourceware.org/ml/gdb-patches/2011-04/msg00272.html

While there exist other methods for simplicity of the troubleshooting I would
connect the remote system via NFS and use `set sysroot' to that mounted
directory.

This will ensure the local symbol files match the remote files.


Regards,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]