This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How can I activate kGDB???

Other Parts Discussed in Thread: OMAP3530

Hi,

I am trying to perform kGDB for debugging a kernel wich run on OMAP3530 (I am using EVM Mistral Board). But when I finish to configure the kernel with "menuconfig" and I compile it successfully, I am not capable to activate the kGDB when the kernel is running on the board (target).

I tried to define the variables kernel and gdbstart on the boot (with setenv) as I saw in Internet, but it didn't work.

here are the commands I done:

setenv gdbstart -t /dev/ttyS0 -s 115200

setenv kernel /boot/vmlinux root=/dev/sda5 ro kgdb=ttyS0,34800 kgdboc=ttyS0,34800

So have you any idea about this matter? How can I fix it????

Ps: the result of my config (with menuconfig) is

  # CONFIG_SAMPLES is not set
CONFIG_HAVE_ARCH_KGDB=y
CONFIG_KGDB=y
CONFIG_KGDB_SERIAL_CONSOLE=y
# CONFIG_KGDB_TESTS is not set
# CONFIG_DEBUG_USER is not set