mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-28 15:30:17 +00:00
<raguet@crf.canon.fr>: - 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),
39 lines
689 B
C
39 lines
689 B
C
/*
|
|
**************************************************************************
|
|
*
|
|
* Component = RDBG
|
|
* Module = rdbg_f.h
|
|
*
|
|
* Synopsis = Machine-dependent header file
|
|
*
|
|
* $Id$
|
|
*
|
|
**************************************************************************
|
|
*/
|
|
|
|
#ifndef RDBG_F_H
|
|
#define RDBG_F_H
|
|
|
|
#include <rtems.h>
|
|
#include <rdbg/remdeb.h>
|
|
|
|
static inline int isRdbgException(Exception_context *ctx)
|
|
{
|
|
if (
|
|
ctx->ctx->_EXC_number != ASM_SYS_VECTOR &&
|
|
ctx->ctx->_EXC_number != ASM_TRACE_VECTOR
|
|
) return 0;
|
|
else return 1;
|
|
}
|
|
static inline int getExcNum(Exception_context *ctx)
|
|
{
|
|
return ctx->ctx->_EXC_number;
|
|
}
|
|
|
|
extern void connect_rdbg_exception();
|
|
|
|
#endif
|
|
|
|
|
|
|