From: Daniel Jacobowitz <drow@false.org>
To: "Dr. Rolf Jansen" <rj@surtec.com>
Cc: Steve Kreyer <steve.kreyer@web.de>, gdb@sourceware.org
Subject: Re: Using dlopen and remote debugging
Date: Mon, 25 Feb 2008 13:55:00 -0000 [thread overview]
Message-ID: <20080225133150.GB19361@caradoc.them.org> (raw)
In-Reply-To: <92BB1E0C-6CEC-41FF-AD60-A7F2590D1DA1@surtec.com>
On Mon, Feb 25, 2008 at 10:03:09AM -0300, Dr. Rolf Jansen wrote:
> In my case this was impossible. The remote machine happened to run
> Windows XP and the host Mac OS X. I found no way to let Mac OS X
> understand a full path like "C:\path\to\my\exe\and\dll. I needed to patch
> gdbserver. In the latest CVS version I changed server.c beginning at line
> 528 to:
Then just set solib-search-path; GDB will look up the basenames.
There is an additional wrinkle involving path separators, since GDB
is likely to think that is bare filename and not a full path. But it
should be fixed on the GDB side, not on the target side. This one's
been discussed a few times recently.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2008-02-25 13:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-25 12:15 Steve Kreyer
2008-02-25 13:30 ` Dr. Rolf Jansen
2008-02-25 13:55 ` Daniel Jacobowitz [this message]
2008-02-25 14:23 ` Dr. Rolf Jansen
2008-02-25 13:32 ` Daniel Jacobowitz
2008-02-25 14:33 steve.kreyer
2008-02-25 16:33 ` Daniel Jacobowitz
2008-02-25 19:29 Steve Kreyer
2008-02-27 1:23 ` Daniel Jacobowitz
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=20080225133150.GB19361@caradoc.them.org \
--to=drow@false.org \
--cc=gdb@sourceware.org \
--cc=rj@surtec.com \
--cc=steve.kreyer@web.de \
/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