Re: howto debug libthread_db

Michael Snyder
2006-09-27T18:11:08Z

On Wed, 2006-09-27 at 08:23 +0200, Carmelo Amoroso wrote:
> Andreas Schwab wrote:
> > Michael Snyder <Michael.Snyder@palmsource.com> writes:
> >
> >> When you debug gdb with gdb, it is easier if you change the prompt.
> >> I usually do this in the 'parent' gdb, so I can tell it apart from
> >> the 'child' gdb:
> >
> > Or just run it from the gdb build directory, which contains a .gdbinit
> > that does more useful things.
> >
> Hi,
> my one is a cross build, is it ok copying the .gdbinit from the host
> build directory to the target platform ?

Won't do any good -- gdbserver does not use that file.
It has to be visible to gdb.