From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Klaus Zeitler <Klaus.Zeitler@alcatel-lucent.com>
Cc: gdb@sourceware.org
Subject: Re: Remote debugging: setting breakpoints in shared libraries
Date: Wed, 08 Feb 2012 19:42:00 -0000 [thread overview]
Message-ID: <20120208194140.GA16126@host2.jankratochvil.net> (raw)
In-Reply-To: <q5g4nvb6e5d.fsf@destgd0d00539.de.alcatel-lucent.com>
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
next prev parent reply other threads:[~2012-02-08 19:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-31 16:17 Klaus Zeitler
2012-02-08 19:42 ` Jan Kratochvil [this message]
2012-02-16 12:08 ` Klaus Zeitler
2012-02-16 13:35 ` Jan Kratochvil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120208194140.GA16126@host2.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=Klaus.Zeitler@alcatel-lucent.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox