This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Remote debugging: setting breakpoints in shared libraries
On Thu, 16 Feb 2012 13:07:08 +0100, Klaus Zeitler wrote:
> Jan> It may be affected for example by not yet fixed in that version:
> Jan> [patch] [i386] Fix {,un}prelinked libraries for attach/core-load
> Jan> http://sourceware.org/ml/gdb-patches/2011-02/msg00630.html
> Jan> http://sourceware.org/ml/gdb-patches/2011-04/msg00272.html
> Jan>
> Jan> While there exist other methods for simplicity of the
> Jan> troubleshooting I would connect the remote system via NFS and
> Jan> use `set sysroot' to that mounted directory.
>
> The sources are distributed over a few clearcase vobs.
Source files do not matter for GDB operations, they are only displayed to the
user. Library files (*.so*) matter for breakpoints placing/hit.
> Maybe it's
> easier if I just install a newer gdb. Since the patch above is quite
> new, I wonder if it already made it into the last official release (7.4)?
Yes; you can see the patch in gdb/ChangeLog there.
Regards,
Jan