diff options
Diffstat (limited to 'gdb/nlm/i386.c')
-rw-r--r-- | gdb/nlm/i386.c | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/gdb/nlm/i386.c b/gdb/nlm/i386.c index a9333fb..560198e 100644 --- a/gdb/nlm/i386.c +++ b/gdb/nlm/i386.c @@ -11,9 +11,18 @@ #include <errno.h> #include "i386.h" +extern char *mem2hex (void *mem, char *buf, int count, int may_fault); +extern char *hex2mem (char *buf, void *mem, int count, int may_fault); +extern int computeSignal (int exceptionVector); + +void +flush_i_cache() +{ +} + /* Get the registers out of the frame information. */ -static void +void frame_to_registers (frame, regs) struct StackFrame *frame; char *regs; @@ -36,7 +45,7 @@ frame_to_registers (frame, regs) /* Put the registers back into the frame information. */ -static void +void registers_to_frame (regs, frame) char *regs; struct StackFrame *frame; @@ -57,21 +66,21 @@ registers_to_frame (regs, frame) hex2mem (®s[14 * 4 * 2], &frame->ExceptionFS, 4 * 2, 0); } -static void +void set_step_traps (frame) struct StackFrame *frame; { frame->ExceptionSystemFlags |= 0x100; } -static void +void clear_step_traps (frame) struct StackFrame *frame; { frame->ExceptionSystemFlags &= ~0x100; } -static void +void do_status (ptr, frame) char *ptr; struct StackFrame *frame; |