<p>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 source 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. </p>

<p>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 independant executable for gdb for above mentioned os and board configuration or source for the same, which I may try compiling for that target.</p>

<p>-AD.</p>

[{'answer_id': 51693, 'author': 'Claes Mogren', 'author_id': 4992, 'author_profile': 'https://Stackoverflow.com/users/4992', 'pm_score': 0, 'selected': False, 'text': '<p>You might have some luck using <a href="http://wiki.openembedded.net/index.php/Main_Page" rel="nofollow noreferrer">OpenEmbedded</a>. If there\'s no precompiled version you can use right away, setting up an OE-cross compile environment is not that hard. </p>\n\n<p>Another option could be to install gdb-server on the board, like described in <a href="http://dominion.thruhere.net/koen/cms/using-gdbserver" rel="nofollow noreferrer">this blogpost</a>.</p>\n'}, {'answer_id': 202989, 'author': 'ZungBang', 'author_id': 27831, 'author_profile': 'https://Stackoverflow.com/users/27831', 'pm_score': 3, 'selected': True, 'text': '<p>Sometime ago I published an <a href="http://www.linux.com/feature/121735" rel="nofollow noreferrer">article</a> 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.</p>\n'}]
['https://Stackoverflow.com/questions/51501', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2759376/']