source: rtems/c/src/lib/include/Makefile.in @ 4721cf1

4.104.114.84.9
Last change on this file since 4721cf1 was 4721cf1, checked in by Joel Sherrill <joel.sherrill@…>, on Dec 3, 1998 at 11:54:14 PM

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.7 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7VPATH = @srcdir@
8RTEMS_ROOT = @top_srcdir@
9PROJECT_ROOT = @PROJECT_ROOT@
10
11H_PIECES=chain console clockdrv iosupp ringbuf \
12   spurious timerdrv vmeintr
13H_FILES=$(H_PIECES:%=$(srcdir)/%.h)
14
15SYS_H_PIECES=termios
16SYS_H_FILES=$(SYS_H_PIECES:%=$(srcdir)/sys/%.h)
17
18MOTOROLA_H_PIECES=mc68230 mc68681
19MOTOROLA_H_FILES=$(MOTOROLA_H_PIECES:%=$(srcdir)/motorola/%.h)
20
21ZILOG_H_PIECES=z8036 z8530 z8536
22ZILOG_H_FILES=$(ZILOG_H_PIECES:%=$(srcdir)/zilog/%.h)
23
24RTEMSCPLUSPLUS_H_PIECES= rtemsEvent rtemsInterrupt rtemsMessageQueue \
25  rtemsSemaphore rtemsStatusCode rtemsTask rtemsTaskMode rtemsTimer
26RTEMSCPLUSPLUS_H_FILES=$(RTEMSCPLUSPLUS_H_PIECES:%=$(srcdir)/rtems++/%.h)
27
28RPC_H_PIECES=  auth clnt rpc rpc_msg svc svc_auth types xdr
29RPC_H_FILES=$(RPC_H_PIECES:%=$(srcdir)/rpc/%.h)
30
31RDBG_H_PIECES=  servrpc rdbg $(RTEMS_CPU)/rdbg_f $(RTEMS_CPU)/reg
32RDBG_H_FILES=$(RDBG_H_PIECES:%=$(srcdir)/rdbg/%.h)
33
34SRCS=$(H_FILES) $(SYS_H_FILES) \
35     $(MOTOROLA_H_FILES) $(RTEMSCPLUSPLUS_H_FILES) \
36     $(RPC_H_FILES) $(RDBG_H_FILES)
37
38include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
39include $(RTEMS_ROOT)/make/leaf.cfg
40CLEAN_ADDITIONS +=
41CLOBBER_ADDITIONS +=
42
43all:    $(SRCS)
44        $(INSTALL) -m 444 $(H_FILES) $(PROJECT_INCLUDE)
45        $(INSTALL) -m 444 $(SYS_H_FILES) $(PROJECT_INCLUDE)/sys
46        $(INSTALL) -m 444 $(MOTOROLA_H_FILES) \
47            $(PROJECT_INCLUDE)/motorola
48        $(INSTALL) -m 444 $(ZILOG_H_FILES) $(PROJECT_INCLUDE)/zilog
49ifeq ($(HAS_CPLUSPLUS),yes)
50        $(INSTALL) -m 444 $(RTEMSCPLUSPLUS_H_FILES) $(PROJECT_INCLUDE)/rtems++
51endif
52ifeq ($(HAS_NETWORKING),yes)
53        $(INSTALL) -m 444 $(RPC_H_FILES) $(PROJECT_INCLUDE)/rpc
54ifeq ($(HAS_RDBG),yes)
55        $(INSTALL) -m 444 $(RDBG_H_FILES) $(PROJECT_INCLUDE)/rdbg
56endif
57endif
Note: See TracBrowser for help on using the repository browser.