From 014292a164b8bb5286b6c7dae7c37a469ef6f0cc Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Fri, 8 Apr 2016 18:39:38 +1000 Subject: i386/pc386: Add support for the gdb stub to use available console drivers. Move the gdb stub from the i386 UART code to use the libchip drivers. Use any ports discovered during the probes. Add gdb control to the boot command line. Change the device naming to the full device path, not a partial path. For example /dev/com1. --- c/src/lib/libbsp/i386/pc386/configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'c/src/lib/libbsp/i386/pc386/configure.ac') diff --git a/c/src/lib/libbsp/i386/pc386/configure.ac b/c/src/lib/libbsp/i386/pc386/configure.ac index 17b7d02e3b..d62a9b332e 100644 --- a/c/src/lib/libbsp/i386/pc386/configure.ac +++ b/c/src/lib/libbsp/i386/pc386/configure.ac @@ -142,6 +142,12 @@ RTEMS_BSPOPTS_HELP([BSP_HAS_SMP], [Always defined when on a pc386 to enable the pc386 support for determining the CPU core number in an SMP configuration.]) +RTEMS_BSPOPTS_SET([BSP_GDB_STUB],[*],[1]) +RTEMS_BSPOPTS_HELP([BSP_GDB_STUB], +[Defined by default. Enables use of the GDB stub for debugging via a + serial port.]) +AM_CONDITIONAL(BSP_GDB_STUB, test "$BSP_GDB_STUB" = "1") + ## if this is an i386, does gas have good code16 support? RTEMS_I386_GAS_CODE16 AM_CONDITIONAL(RTEMS_GAS_CODE16,[test "$RTEMS_GAS_CODE16" = "yes"]) -- cgit v1.2.3