source: rtems/c/src/lib/libbsp/i386/ts_386ex/tools/debug_ada/serial_debug.ads @ 3299388d

4.104.114.84.95
Last change on this file since 3299388d was 1d4048b2, checked in by Joel Sherrill <joel.sherrill@…>, on 08/11/99 at 23:45:57

Patch from Tony R. Ambardar <tonya@…>:

I'm attaching a big patch for the ts_386ex BSP which adds and includes
the following:

1) Conversion to ELF format + minor code cleanups + documentation.

2) An Ada95 binding to FreeBSD sockets, based on Samuel Tardieu's

adasockets-0.1.3 package. This includes some sample applications.

3) Some Ada and C interfaces to add serial-port debugging to

programs. Comes with examples, too; the Ada one shows how
transparent adding the support can be. Note that Rosimildo sent me
the original C code.

The network stuff is not BSP specific, and could be added to your Ada
code collection. The debugging stuff is specific to the i386. Right
now, everything sits in my "tools" directory.

  • Property mode set to 100644
File size: 515 bytes
Line 
1--  This package allows one to easily add serial debugging support to any
2--  Ada program by simply adding "with Serial_Debug; use Serial_Debug".
3--  Debugging will be automatically initialized when the program is run,
4--  and it should be possible to interrupt the running program from ddd/gdb.
5--
6--  Additionally, one can place explicit breakpoints for the debugger using
7--  the procedure Breakpoint
8
9package Serial_Debug is
10
11   procedure Breakpoint;
12
13private
14
15   pragma Inline (Breakpoint);
16
17end Serial_Debug;
Note: See TracBrowser for help on using the repository browser.