gdbserver - illegal instruction

34 views
Skip to first unread message

Mobile Enthusiast

unread,
Feb 9, 2010, 6:34:39 AM2/9/10
to android-porting
Hi,

I'm trying to run gdbserver on the Neo Freerunner, but I keep getting
an illegal instruction error. It might be because the gdbserver
executable i'm using is the one from the prebuilt/android-arm/
directory and that's armv5 whereas I need armv4.

Question:

How do I confirm whether this is indeed the case?
Where can I get a gdbserver executable that is armv4?

I tried cross-compiling, but that didn't work. May have done something
wrong with my cross-compile, but I'm not sure. If suggestion is to
cross-compile for v4, can anyone point me to a resource? They've been
scarce.

Appreciate the help.
Thanks.

Jim Ancona

unread,
Feb 9, 2010, 10:30:51 AM2/9/10
to android-porting

In particular, where is the source for the the gdbserver executable
included in prebuilt/android-arm/gdbserver/ ?

The README.txt in that directory says:

To compile a new gdbserver, see
//toolchain/gdb/src/gdb/gdbserver/README_ANDROID.txt

But there is no toolchain/gdb/src/ directory in the source tree.

Presumably if we had the source we could build an executable with our
armv4t toolchain.

Jim

David Turner

unread,
Feb 9, 2010, 7:58:02 PM2/9/10
to scar...@gmail.com, android-porting

Mobile Enthusiast

unread,
Feb 11, 2010, 1:32:03 AM2/11/10
to android-porting

Looks like someone removed gdb from the source tree back in November.
I downloaded the snapshot for gdb specifically, but now i'm having to
cross-compile again. Any ideas of how I could do that with the armv4
toolchain (prebuilt/linux-x86/toolchain ...)

Thanks.

> > unsubscribe: android-porti...@googlegroups.com<android-porting%2Bunsubscribe@ googlegroups.com>
> > website:http://groups.google.com/group/android-porting

Reply all
Reply to author
Forward
0 new messages