The GDB server implements a set of GDB commands, such as read/write memory, read/write registers, connect/detach, breakpoints, single-step, continue. It is not OS-aware, and thus provides a 'system-level' debugging environment, where the system stops when debugging (such as handling a breakpoint or single-stepping). It currently only works over a serial line, taking over the uart_console. If target code prints over the console, the GDB server intecepts them and does not send the characters directly over the serial line, but rather wraps them in a packet handled by the GDB client. Change-Id: Ic4b82e81b5a575831c01af7b476767234fbf74f7 Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
7 lines
215 B
Makefile
7 lines
215 B
Makefile
ccflags-y +=-I$(srctree)/include/misc/debug
|
|
CFLAGS_gdb_server.o =-I$(srctree)/include/drivers
|
|
|
|
obj-y =
|
|
obj-$(CONFIG_MEM_SAFE_CHECK_BOUNDARIES) += mem_safe_check_boundaries.o
|
|
obj-$(CONFIG_GDB_SERVER) += gdb_server.o
|