source: rtems/c/src/librdbg/include/rdbg/m68k/rdbg_f.h @ cab2730

4.104.114.84.95
Last change on this file since cab2730 was c92fb641, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 19, 2000 at 3:35:21 PM

2000-10-19 Antti P Miettinen <anmietti@…>

  • configure.in: Add m68k support.
  • include/rdbg/m68k, src/m68k, src/m68k/any: New subdirectory.
  • src/_servtgt.c: add status text to prinf upon task creation failure.
  • src/rdbg.c: reconnect rdbg exception handlers upon RPC calls.
  • src/m68k/Makefile.am, src/m68k/any/Makefile.am, src/m68k/any/remdeb_f.x, src/m68k/any/.cvsignore, src/m68k/any/remdeb.h, src/m68k/any/remdeb_xdr.c, src/m68k/any/remdeb_svc.c, src/m68k/excep_f.c, src/m68k/rdbg_cpu_asm.S, src/m68k/rdbg_f.c, src/m68k/.cvsignore: New files.
  • Property mode set to 100644
File size: 759 bytes
RevLine 
[c92fb641]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->vecnum != 9 /* trace - singlestep */
24      && ctx->ctx->vecnum != 47 /* trap #15 - breakpoint */
25      && ctx->ctx->vecnum != 36 /* trap #4 - enter RDBG */
26      ) return 0;
27  else return 1;
28}
29static inline int getExcNum(Exception_context *ctx)
30{
31  return ctx->ctx->vecnum;
32}
33
34extern void connect_rdbg_exception();
35
36#endif
37
38
39
Note: See TracBrowser for help on using the repository browser.