Changeset 4721cf1 in rtems for c/src/lib/include/Makefile.in


Ignore:
Timestamp:
Dec 3, 1998, 11:54:14 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
e203c04b
Parents:
cd155be
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/include/Makefile.in

    rcd155be r4721cf1  
    2626RTEMSCPLUSPLUS_H_FILES=$(RTEMSCPLUSPLUS_H_PIECES:%=$(srcdir)/rtems++/%.h)
    2727
     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
    2834SRCS=$(H_FILES) $(SYS_H_FILES) \
    29      $(MOTOROLA_H_FILES) $(RTEMSCPLUSPLUS_H_FILES)
     35     $(MOTOROLA_H_FILES) $(RTEMSCPLUSPLUS_H_FILES) \
     36     $(RPC_H_FILES) $(RDBG_H_FILES)
    3037
    3138include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
     
    4350        $(INSTALL) -m 444 $(RTEMSCPLUSPLUS_H_FILES) $(PROJECT_INCLUDE)/rtems++
    4451endif
     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 TracChangeset for help on using the changeset viewer.