Cross Debugging with GDB: Embedded Linux

preview_player
Показать описание
Demonstrates how to run GDB in a cross-debugging session with an embedded Linux target.

Embedded Linux device runs gdbserver, host runs gdb-multiarch. Commands demonstrated inculde:
- launching gdbserver and gdb-multiarch
- continue
- print
- break
- info args
- next

My guides to getting BeagleBone (Black/Green/...) working:
Рекомендации по теме
Комментарии
Автор

I have been watching your videos since 2 years. Thank you for making such helping videos.

codestorywithMIK
Автор

Thank you. A know-how of gdb basics always helps. You can also debug directly from your Eclipse IDE that you are using.

eigenfield
Автор

visual studio code does have also a remote debugger for code! it's very useful

ameliabuns
Автор

There should be a way to do this remote debugging in eclipse right? Pure command line is a bit of a pain for large programs.
Edit... next video x.x

UseLogicPlease
Автор

I just search how to use GDB connects to GDB Server for my current work because I forget this content in CMPT 433 last year, and accidentally reach this video again :)

goodnandnotgoodisgood
Автор

Is there any gdb-multiarch equivalent for amazon linux or centos ?

vejaypraveenraaja
Автор

Thank you so much. I made a firmware with this command:
make TARGET=OPENMV4P CUBEAI=1 DEBUG=1

But when I use "next", it does not print the source line. Do you know what the problem is?

hamedelahi
Автор

Thanks a lot, i'll do the same from Mac M1 to Intel Ubuntu Server, specific server for intel reversing :)

terror