The following reply was made to PR threads/2312; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@xxxxxxxxx>
To: Revati Kulkarni <Revati.Kulkarni@xxxxxxxxxxxxxxx>
Cc: gdb-gnats@xxxxxxxxxxxxxx
Subject: Re: threads/2312: gdbserver with pthread debugging problem
Date: Fri, 12 Oct 2007 10:27:07 -0400
On Fri, Oct 12, 2007 at 07:51:05PM +0530, Revati Kulkarni wrote:
>
> Hi Jacob,
My name is Daniel, not Jacob.
> Below are the commands we use to configure with sysroot option as
> suggested.
> Is this method okay? Please find attached two make files for gdb &
> gdbserver.
>
> GDB
>
> ./configure --target=sh3eb-linux --with-sysroot=/home/rootfs/lib
> --prefix=/home/tanya/gdbserver/gdb-6.6.50.20070910/GDB
I doubt that your libraries live in /home/rootfs/lib/lib. Try
/home/rootfs.
> GDB-Server
>
> export PATH=/home/toolchain/path/bin:$PATH
> ./configure --host=sh3eb-linux --with-sysroot=/lib
> --prefix=/home/tanya/gdbserver/gdb-6.6.50.20070910/GDB
gdbserver does not need a sysroot option.
--
Daniel Jacobowitz
CodeSourcery
|