path: root/make/custom/default.cfg
diff options
authorJoel Sherrill <>1998-12-03 23:54:14 +0000
committerJoel Sherrill <>1998-12-03 23:54:14 +0000
commit4721cf1ecb949b37c98b6fce79163541711de2e5 (patch)
treea89f2bef604b2ddf22b262fe6115d9f75c952781 /make/custom/default.cfg
parentcd155bec6f3a761b9eb12ff8dc592da8f96ee1ed (diff)
Patch from Emmanuel Raguet <> to add remote debug server
and RPC support to RTEMS. Thanks. :) Email follows: Hello, For Xmas, here is the Remote Debugger on RTEMS ! Here are 2 patches for the Remote Debugger on RTEMS for pc386 from Linux host : - one for RTEMS it self, - one for GDB-4.17. 1/ RTEMS patch -------------- This patch adds 2 libraries : - a simplified SUN RPC library - the Remote Debugger library The configuration command is the following : ../rtems4/configure --target=i386-rtemself --enable-rtemsbsp=pc386 --enable-rdbg The SUN RPC library is built only if networking is set. The RDBG library is built if networking and enable-rdbg are set. The function used to initialize the debugger is : rtems_rdbg_initialize (); A special function has been created to force a task to be in a "debug" state : enterRdbg(). The use of this function is not mandatory. 2/ GDB-4.17 patch ----------------- This patch create a new RTEMS target for GDB-4.17. The configuration command is the following : ./configure --enable-shared --target=i386RTEMS To connect to a target, use : target rtems [your_site_address] Then, attach the target using : attach 1 And... Debug ;) You can obtain the original GDB-4.17 on This has been tested from a Debian 2.0.1 linux host.
Diffstat (limited to '')
1 files changed, 7 insertions, 0 deletions
diff --git a/make/custom/default.cfg b/make/custom/default.cfg
index dcb7a92c3a..d8c56518d2 100644
--- a/make/custom/default.cfg
+++ b/make/custom/default.cfg
@@ -71,6 +71,13 @@ else
+# Define this to yes if this target wants the remote debugger
+ifeq ($(RTEMS_HAS_RDBG),yes)
# Define this to yes if this target wants the posix api
ifeq ($(RTEMS_HAS_POSIX_API),yes)