source: rtems/make/target.cfg.in @ 4721cf1

4.104.114.84.95
Last change on this file since 4721cf1 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.6 KB
Line 
1#
2# $Id$
3#
4# Target specific settings.
5#
6
7prefix = @prefix@
8
9CFLAGS = @CFLAGS@
10CPPFLAGS = @CPPFLAGS@
11DEFS = @DEFS@
12LDFLAGS =
13LIBS = @LIBS@
14CC_FOR_BUILD = @CC@
15
16CC = @CC_FOR_TARGET@
17AS = @AS_FOR_TARGET@
18AR = @AR_FOR_TARGET@
19NM = @NM_FOR_TARGET@
20LD = @LD_FOR_TARGET@
21SIZE = @SIZE_FOR_TARGET@
22STRIP = @STRIP_FOR_TARGET@
23OBJCOPY = @OBJCOPY_FOR_TARGET@
24RANLIB = @RANLIB_FOR_TARGET@
25
26CXX = @CXX_FOR_TARGET@
27
28export CC
29export AS
30export LD
31export NM
32export AR
33export SIZE
34export OBJCOPY
35
36export CXX
37
38RTEMS_CROSS_TARGET=@rtems_cv_prog_cc_cross@
39
40RTEMS_HOST = @RTEMS_HOST@
41RTEMS_USE_OWN_PDIR = @RTEMS_USE_OWN_PDIR@
42RTEMS_HAS_MULTIPROCESSING = @RTEMS_HAS_MULTIPROCESSING@
43RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@
44RTEMS_HAS_POSIX_1H_API = @RTEMS_HAS_POSIX_1H_API@
45RTEMS_HAS_NETWORKING = @RTEMS_HAS_NETWORKING@
46RTEMS_HAS_RDBG = @RTEMS_HAS_RDBG@
47RTEMS_HAS_CPLUSPLUS = @RTEMS_HAS_CPLUSPLUS@
48RTEMS_USE_MACROS = @RTEMS_USE_MACROS@
49RTEMS_USE_GCC272 = @RTEMS_USE_GCC272@
50RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@
51RTEMS_CPU = @target_cpu@
52
53# the following are only used for the bare bsp
54BARE_CPU_MODEL = @BARE_CPU_MODEL@
55BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@
56 
57INSTALL=$(PROJECT_ROOT)/$(RTEMS_BSP)/build-tools/install-if-change
58XCFLAGS=$(CFLAGS_FOR_TARGET)
59 
60export RTEMS_BSP
61export RTEMS_CUSTOM
62export PROJECT_ROOT
63
64# List (possibly empty) of required managers
65# We require:
66#    region  -- used by lib/libcsupport for malloc()
67#    ext     -- used by libc for libc reentrancy hooks
68
69MANAGERS_REQUIRED=region ext sem
70
71# Create a RTEMS executable based on MANAGERS which was set in
72#  app's Makefile
73
74MANAGERS_NOT_WANTED=$(filter-out $(MANAGERS) \
75        $(MANAGERS_REQUIRED), $(MANAGER_LIST))
76
Note: See TracBrowser for help on using the repository browser.