source: rtems/c/src/librdbg/include/rdbg/powerpc/rdbg_f.h @ 73b5bd5d

4.104.114.84.95
Last change on this file since 73b5bd5d was 73b5bd5d, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/15/04 at 13:33:58

Remove stray white spaces.

  • Property mode set to 100644
File size: 777 bytes
Line 
1/*
2 **************************************************************************
3 *
4 * Component =   RDBG
5 * Module =   rdbg_f.h
6 *
7 * Synopsis = Machine-dependent header file
8 *
9 * $Id$
10 *
11 **************************************************************************
12 */
13
14#ifndef RDBG_F_H
15#define RDBG_F_H
16
17#include <rtems.h>
18#include <rdbg/remdeb.h>
19
20static inline  int isRdbgException(Exception_context *ctx)
21{
22  if (
23      ctx->ctx->_EXC_number != ASM_SYS_VECTOR &&
24      ctx->ctx->_EXC_number != ASM_PROG_VECTOR &&
25      ctx->ctx->_EXC_number != ASM_TRACE_VECTOR
26      ) return 0;
27  else return 1;
28}
29static inline int getExcNum(Exception_context *ctx)
30{
31  return ctx->ctx->_EXC_number;
32}
33
34extern void connect_rdbg_exception();
35extern void disconnect_rdbg_exception();
36
37#endif
Note: See TracBrowser for help on using the repository browser.