This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Build question
> From: Danny Backx <danny.backx@scarlet.be>
> Cc: tromey@redhat.com, gdb@sourceware.org
> Date: Fri, 21 Aug 2009 20:05:00 +0200
>
> On Fri, 2009-08-21 at 20:31 +0300, Eli Zaretskii wrote:
> > > From: Tom Tromey <tromey@redhat.com>
> > > I am not familiar with this area in depth. From what you've said it
> > > sounds like gdb has some confusion about host paths and target paths.
> >
> > The way these macros and the corresponding source fragments in GDB are
> > set, they only DTRT for native debugging.
>
> Also right, but it looks like it doesn't take much to make it just work.
I think they need to be converted to run-time tests instead. For
that, we would probably need some kind of primitive that returns the
filesystem type of the target, what the macros do now at compile-time.