4.104.114.84.95
Last change
on this file since a3d0b8a was
4721cf1,
checked in by Joel Sherrill <joel.sherrill@…>, on 12/03/98 at 23:54:14
|
Patch from Emmanuel Raguet <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
ftp://ftp.debian.org/debian/dists/stable/main/source/devel/gdb_4.17.orig.tar.gz
This has been tested from a Debian 2.0.1 linux host.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | @SET_MAKE@ |
---|
6 | srcdir = @srcdir@ |
---|
7 | VPATH = @srcdir@ |
---|
8 | RTEMS_ROOT = @top_srcdir@ |
---|
9 | PROJECT_ROOT = @PROJECT_ROOT@ |
---|
10 | |
---|
11 | include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg |
---|
12 | include $(RTEMS_ROOT)/make/directory.cfg |
---|
13 | |
---|
14 | # We only build the networking library if HAS_NETWORKING was defined |
---|
15 | LIBNETWORKING_yes_V = libnetworking |
---|
16 | LIBNETWORKING = $(LIBNETWORKING_$(HAS_NETWORKING)_V) |
---|
17 | NETWORKING_INCLUDE_yes_V = libnetworking/include |
---|
18 | NETWORKING_INCLUDE = $(NETWORKING_INCLUDE_$(HAS_NETWORKING)_V) |
---|
19 | |
---|
20 | # We only build the rpc library if HAS_NETWORKING was defined |
---|
21 | LIBRPC_yes_V = librpc |
---|
22 | LIBRPC = $(LIBRPC_$(HAS_NETWORKING)_V) |
---|
23 | |
---|
24 | # We only build the rdbg library if HAS_NETWORKING and HAS_RDBG was defined |
---|
25 | LIBRDBG_yes_yes_V = librdbg |
---|
26 | LIBRDBG = $(LIBRDBG_$(HAS_NETWORKING)_$(HAS_RDBG)_V) |
---|
27 | |
---|
28 | # We only build the rtems++ library if HAS_CPLUSPLUS was defined |
---|
29 | LIBRTEMSCPLUSPLUS_yes_V = librtems++ |
---|
30 | LIBRTEMSCPLUSPLUS = $(LIBRTEMSCPLUSPLUS_$(HAS_CPLUSPLUS)_V) |
---|
31 | |
---|
32 | # General Hardware API library |
---|
33 | LIBHWAPI=$(wildcard libhwapi) |
---|
34 | |
---|
35 | |
---|
36 | $(LIBNETWORKING) $(LIBRPC) $(LIBRDBG) \ |
---|
37 | $(LIBHWAPI) $(LIBRTEMSCPLUSPLUS) wrapup |
---|
38 | LIBCHIP=libchip |
---|
39 | endif |
---|
40 | |
---|
41 | SUB_DIRS=start include $(NETWORKING_INCLUDE) libmisc \ |
---|
42 | libc $(LIBCHIP) libcpu libbsp $(LIBNETWORKING) \ |
---|
43 | $(LIBHWAPI) $(LIBRTEMSCPLUSPLUS) wrapup |
---|
Note: See
TracBrowser
for help on using the repository browser.