tags:

views:

797

answers:

2

Hello, I have a ARM11 based hardware board which runs a Linux kernel ver. 2.6.21.5-cfs-v19. I have my application running on this ARM-LINUX board. To do sourlce level debugging, of my application i used to use gdb from command prompt of the linux board, that was with some earlier version of the board linux version.

With this version 2.6.21.5-cfs-v19, i dont have a related version of gdb for the board.I tried to look around to get gdb for this version of linux and arm port of it, but without much success. Can anyone point me where i can get either an independatn executable for gdb for above mentioend os and board configuration or source for the same, which i may try compiling for that target.

-AD.

A: 

You might have some luck using OpenEmbedded. If there's no precompiled version you can use right away, setting up an OE-cross compile environment is not that hard.

Another option could be to install gdb-server on the board, like described in this blogpost.

Claes Mogren
+2  A: 

Sometime ago I published an article about cross-target debugging with GDB and GDBServer. The target processor there is PPC7450, but it's rather detailed, so maybe you'll find it useful.

ZungBang