From: Pedro Alves <pedro@codesourcery.com>
To: danny.backx@scarlet.be
Cc: gdb-patches@sourceware.org
Subject: Re: How to fix solib path name?
Date: Wed, 08 Jul 2009 15:45:00 -0000 [thread overview]
Message-ID: <200907081645.02522.pedro@codesourcery.com> (raw)
In-Reply-To: <1247067073.3870.69.camel@pavilion>
On Wednesday 08 July 2009 16:31:13, Danny Backx wrote:
>
> > Maybe we can make gdbserver smarter even on CE < 6? I think I
> > remember that if you had toolhelp.dll on the device, you'd get
> > absolute paths, but I'm not sure if that's a valid memory I have.
> >
>
> I've added one printf statement to gdbserver/server.c just after where
> it assembles the library name list.
>
> Output on the infamous C++ hello2.exe below. Two out of the three are
> absolute path names. Not sure why the other one isn't.
Heh. That's the same dll you have issues with when reading
it's filename, and also the one where you have that test app
crashing, isn't it? :-) Where (which dir) in the device is
it located? Does it change anything if you put it next to
the others, in case it isn't already?
> Is it best to adapt gdbserver for this ?
I don't know what you mean by adapt here. The point of absolute
pathnames is that you can have more than one dll with the
same name around, so gdb doesn't have to guess which is which.
Why not just use "set sysroot"?
--
Pedro Alves
next prev parent reply other threads:[~2009-07-08 15:45 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-08 14:34 Danny Backx
2009-07-08 14:45 ` Aleksandar Ristovski
2009-07-08 14:51 ` Pedro Alves
2009-07-08 15:15 ` Aleksandar Ristovski
2009-07-08 15:21 ` Pedro Alves
2009-07-08 15:38 ` Aleksandar Ristovski
2009-07-08 15:49 ` Pedro Alves
2009-07-08 15:57 ` Pedro Alves
2009-07-08 17:19 ` Aleksandar Ristovski
2009-07-08 18:24 ` Pedro Alves
2009-07-08 18:30 ` Pedro Alves
2009-07-08 14:56 ` Pedro Alves
2009-07-08 15:07 ` Pedro Alves
2009-07-08 15:31 ` Danny Backx
2009-07-08 15:45 ` Pedro Alves [this message]
2009-07-08 15:45 ` Danny Backx
2009-07-08 16:19 ` Pedro Alves
2009-07-08 16:30 ` Danny Backx
2009-07-08 16:42 ` Pedro Alves
2009-07-08 17:15 ` Pedro Alves
2009-07-08 20:46 ` Danny Backx
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=200907081645.02522.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=danny.backx@scarlet.be \
--cc=gdb-patches@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