This is the mail archive of the 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: shared lib dos filename style - one more question

On Fri, 2009-10-09 at 10:36 -0700, Joel Brobecker wrote:
> > I'm sure that any effects of discouragement at my end are not the
> > intention of this message :-)
> This just shows how important it is to agree on user-level design
> before digging into the implementation - when you can of course.
> Not saying that you didn't!
> I actually missed that discussion. Would you mind maybe explain again
> what it is that you're trying to achieve and what has been said on
> the subject? I promise I will read through it and try to give you my
> answers to your questions.

Sure. Note that I'm not discouraged yet, but I would like people to step
into the discussion *now*, not after I'm pointed in another direction.

What am I trying to accomplish ?

Consider - cross-develop from your
favourite host to target the Windows CE family (Windows Mobile,
PocketPC, Windows Embedded CE, ..).

Gdb talks to the remote process to debug via gdbserver. This all works
very well until you want to interact with DLLs. In some circumstances
(e.g. with Windows Embedded CE on x86), gdb will receive DLL information
with full paths to the DLLS.

Those paths are in windows style, while the gdb (if on e.g. Linux) only
knows about Unix style paths. From that point on, everything related to
shared libraries fails : e.g. querying at which addresses a DLL is

My goal is to fix that.

An example session is in

You can follow that thread to the rest of the discussion.

At one point I was talking to the BFD maintainers, that was due to my
own misunderstanding. So there's stuff on the BFD list, but probably not

Another interaction is on the gcc mailing list, due to impact on
libiberty. I have the feeling that my current code can be accepted there
if the solution it is created for is considered (by the gdb crowd) to be
the right one.

Please don't misunderstand me : I'm not interested in a particular
solution. The simple one - that was suggested by Daniel this week - is
perfectly acceptable to me; I'll end up considering the coding I did for
it as work necessary for impact analysis. No harm done.

Thanks for looking into this.

Danny Backx ; danny.backx - at - ;

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