diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-12-06 13:44:56 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-12-06 13:44:56 +0000 |
commit | 39e6bbe1aa6212cfad9f1424a5e3e0394aeec1f9 (patch) | |
tree | 388f8282e3587c4956c0114ea1987e3ba43f9ca6 /c/src/librdbg/src/i386/pc386/remdeb_f.x | |
parent | changed version to 19991203 (diff) | |
download | rtems-39e6bbe1aa6212cfad9f1424a5e3e0394aeec1f9.tar.bz2 |
Patch patches-rc-19991203-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which makes i386 code available for all BSPs not just pc386. This is correct
since the code is really general to all i386 BSPs now.
Diffstat (limited to '')
-rw-r--r-- | c/src/librdbg/src/i386/pc386/remdeb_f.x | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/c/src/librdbg/src/i386/pc386/remdeb_f.x b/c/src/librdbg/src/i386/pc386/remdeb_f.x deleted file mode 100644 index 01d899fe54..0000000000 --- a/c/src/librdbg/src/i386/pc386/remdeb_f.x +++ /dev/null @@ -1,59 +0,0 @@ -/* - ************************************************************************** - * - * Component = rdblib - * - * Synopsis = remdeb_f.x - * - * $Id$ - * - ************************************************************************** - */ - -struct xdr_regs -{ - unsigned int tabreg[19]; -}; - -#ifdef RPC_HDR - -%/* now define register macros to apply to xdr_reg struct */ -% -%#define GS 0 -%#define FS 1 -%#define ES 2 -%#define DS 3 -%#define EDI 4 -%#define ESI 5 -%#define EBP 6 -%#define ESP 7 -%#define EBX 8 -%#define EDX 9 -%#define ECX 10 -%#define EAX 11 -%#define TRAPNO 12 -%#define ERR 13 -%#define EIP 14 -%#define CS 15 -%#define EFL 16 -%#define UESP 17 -%#define SS 18 -% -%#define REG_PC tabreg[EIP] /* PC (eip) register offset */ -%#define REG_SP tabreg[UESP] /* SP (uesp) register offset */ -%#define REG_FP tabreg[EBP] /* FP (ebp) register offset */ - -%/* now define the BREAKPOINT mask technique to a long word */ -%#define SET_BREAK(l) ((l&0xFFFFFF00) | 0xCC) -%#define IS_BREAK(l) (((l) & 0xFF) == 0xCC) -%#define ORG_BREAK(c,p) (((c) & 0xFFFFFF00) | ((p) & 0xFF)) -%#define IS_STEP(regs) (regs.tabreg[TRAPNO] == 1) /* was step and not break */ -%#define BREAK_ADJ 1 /* must subtract one from address after bp */ -%#define BREAK_SIZE 1 /* Breakpoint occupies one byte */ - -%#define TARGET_PROC_TYPE 0 - -#endif - - - |