aboutsummaryrefslogtreecommitdiff
path: root/gdb/nlm
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>1994-10-07 01:17:02 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>1994-10-07 01:17:02 +0000
commitc9228cfe645063f83bbff04d2839d8e38030edc2 (patch)
treeff8b14f28461e9be8e9229a7d02724f488beda6d /gdb/nlm
parentb5e7c7b315b47edc9f58f3d33e564636f24bd24c (diff)
downloadgdb-c9228cfe645063f83bbff04d2839d8e38030edc2.zip
gdb-c9228cfe645063f83bbff04d2839d8e38030edc2.tar.gz
gdb-c9228cfe645063f83bbff04d2839d8e38030edc2.tar.bz2
* nlm/i386.c (flush_i_cache): New function, does nothing.
(frame_to_registers, registers_to_frame, set_step_traps, clear_step_traps, do_status): Make non-static.
Diffstat (limited to 'gdb/nlm')
-rw-r--r--gdb/nlm/i386.c19
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 (&regs[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;