it fails for gdbreplay.c file check in script.,
if [ ! -f "$SRC_DIR/gdbreplay.c" ] ; then
echo "ERROR: Source directory does not contain gdb sources:
$SRC_DIR"
exit 1
fi
probably wrong directory level (set SRC_DIR to ../gdb/gdbserver and try)
also (surprised that i found gdb 6.7.1 release in android git repositroy)
http://android.git.kernel.org/?p=toolchain/gdb.git;a=tree;f=gdb-7.1.x/gdb/gdbserver;h=57fef01fdd5b9e5e0b0c65e3f468caaca5738217;hb=cdcdd55a4a1dbc7ac35f427facaf850fdb7d3095
Regards,
Deva
www.bittoggler.com
On Wed, Sep 1, 2010 at 1:01 PM, Chen Guoyin-B07211 <[email protected]>wrote:
> Hi Deva,
>
>
>
> Thanks for your info. I follow the guide in ndk to build the gdb , but
> still failed as below error log.
>
>
>
> ./ndk/build/tools/build-gdbserver.sh /home/guoyin/android/gdb/gdb-6.6/
>
> expr: warning: unportable BRE: `^\\([^\\-].*\\)$': using `^' as the first
> character
>
> of the basic regular expression is not portable; it is being ignored
>
> ERROR: Source directory does not contain gdb sources:
> /home/guoyin/android/gdb/gdb-6.6/
>
>
>
> BRs
>
> Guoyin Chen
>
>
>
>
>
> *From:* Deva R [mailto:[email protected]]
> *Sent:* Wednesday, September 01, 2010 2:45 PM
> *To:* Chen Guoyin-B07211
> *Cc:* android-porting
> *Subject:* Re: [android-porting] Where can i get the an updated version
> gdbserver for armv7-a-neon.mk
>
>
>
> Hm, today, prebuilt gdbserver
> from ./prebuilt/android-arm/gdbserver/gdbserver is used.
>
>
>
> there's something like ./ndk/build/tools/build-gdbserver.sh, which accepts
> gdbserver source directory as cmdline arg and builds with NDK for android.
>
> you can try.,
>
>
>
> Regards,
>
> Deva
>
> www.bittoggler.com
>
> On Wed, Sep 1, 2010 at 10:32 AM, CC <[email protected]> wrote:
>
> Hi All,
>
> I am using the froyo source code to build a armv7-a-neon version
> rootfs, which will include the below setting for build. But it seems
> the prebuilt version of gdbserver cannot work in such setting, it will
> just throw a "segment fault" message. I believe it connected with
> ARCH_ARM_HAVE_TLS_REGISTER setting. So my question where I can get the
> gdbserver with TLS enable.
>
> ARCH_ARM_HAVE_THUMB_SUPPORT := true
> ARCH_ARM_HAVE_FAST_INTERWORKING := true
> ARCH_ARM_HAVE_64BIT_DATA := true
> ARCH_ARM_HAVE_HALFWORD_MULTIPLY := true
> ARCH_ARM_HAVE_CLZ := true
> ARCH_ARM_HAVE_FFS := true
> ARCH_ARM_HAVE_ARMV7A := true
> ARCH_ARM_HAVE_VFP := true
> ARCH_ARM_HAVE_VFP_D32 := true
> ARCH_ARM_HAVE_NEON := true
> ARCH_ARM_HAVE_TLS_REGISTER := true
>
>
> BRs
> Guoyin Chen
>
> --
> unsubscribe:
> [email protected]<android-porting%[email protected]>
> website: http://groups.google.com/group/android-porting
>
>
>
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting