AnsweredAssumed Answered

IMX6 GDB debugging

Question asked by John Smith on Aug 22, 2017
Latest reply on Aug 29, 2017 by Carlos_Musich



I'm using GDB to debug programs in such a way:

1. Establish ethernet connection between the board and the PC.

2. Run command

gdbserver :1234 myApp

on board

3. Run

arm-none-eabi-gdb myApp

on PC

4.  Run

target remote board_IP:1234

on PC


After that the debugging session is started.


Now I'm intersted - is there a way to debug running linux kernel with GDB?

I can use command:

arm-none-eabi-gdb vmlinux

at step 3.


But what command should be executed in order to start gdbserver on board?


Thank you in advance!