4.104.114.84.95
Last change
on this file since cab2730 was
981b99f,
checked in by Joel Sherrill <joel.sherrill@…>, on Aug 10, 1999 at 4:41:44 PM
|
Patch from Eric Valette <valette@…> and Emmanuel Raguet
<raguet@…>:
- the dec21140 driver code has been hardened (various bug fixed) Emmanuel,
- bug in the mcp750 init code have been fixed (interrupt stack/initial
stack initialization), BSS correctly cleared (Eric V)
- remote debugging over TCP/IP is nearly complete (berakpoints,
backtrace, variables,...) (Eric V),
- exception handling code has also been improved in order to fully
support RDBG requirements (Eric V),
|
-
Property mode set to
100644
|
File size:
778 bytes
|
Rev | Line | |
---|
[4721cf1] | 1 | /* |
---|
| 2 | ************************************************************************** |
---|
| 3 | * |
---|
| 4 | * Component = RDBG |
---|
| 5 | * Module = rdbg_f.h |
---|
| 6 | * |
---|
| 7 | * Synopsis = Machine-dependent header file |
---|
| 8 | * |
---|
[981b99f] | 9 | * $Id$ |
---|
| 10 | * |
---|
[4721cf1] | 11 | ************************************************************************** |
---|
| 12 | */ |
---|
| 13 | |
---|
| 14 | #ifndef RDBG_F_H |
---|
| 15 | #define RDBG_F_H |
---|
| 16 | |
---|
| 17 | #include <rtems.h> |
---|
| 18 | #include <rdbg/remdeb.h> |
---|
| 19 | |
---|
| 20 | #define EFLAGS_TF 0x00100 |
---|
| 21 | |
---|
[981b99f] | 22 | static inline int isRdbgException(Exception_context *ctx) |
---|
| 23 | { |
---|
| 24 | if ( |
---|
| 25 | ctx->ctx->idtIndex != I386_EXCEPTION_DEBUG && |
---|
| 26 | ctx->ctx->idtIndex != I386_EXCEPTION_BREAKPOINT && |
---|
| 27 | ctx->ctx->idtIndex != I386_EXCEPTION_ENTER_RDBG |
---|
| 28 | ) return 0; |
---|
| 29 | else return 1; |
---|
| 30 | } |
---|
| 31 | static inline int getExcNum(Exception_context *ctx) |
---|
| 32 | { |
---|
| 33 | return ctx->ctx->idtIndex; |
---|
| 34 | } |
---|
| 35 | |
---|
| 36 | extern void connect_rdbg_exception(); |
---|
[4721cf1] | 37 | |
---|
| 38 | #endif |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | |
---|
Note: See
TracBrowser
for help on using the repository browser.