diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-07-30 01:48:28 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-07-30 01:48:28 +0000 |
commit | fba45db2faf619e71856ee38ec63949c0ef6903e (patch) | |
tree | 107efc21d2b12f54d84b59e75251449e3d5fd096 /gdb/nlm/i386.c | |
parent | 29e6d33b03a5e39540d17bc8235573b1dac13341 (diff) | |
download | gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.zip gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.gz gdb-fba45db2faf619e71856ee38ec63949c0ef6903e.tar.bz2 |
Protoization.
Diffstat (limited to 'gdb/nlm/i386.c')
-rw-r--r-- | gdb/nlm/i386.c | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/gdb/nlm/i386.c b/gdb/nlm/i386.c index 560198e..b8ab480 100644 --- a/gdb/nlm/i386.c +++ b/gdb/nlm/i386.c @@ -16,16 +16,14 @@ extern char *hex2mem (char *buf, void *mem, int count, int may_fault); extern int computeSignal (int exceptionVector); void -flush_i_cache() +flush_i_cache (void) { } /* Get the registers out of the frame information. */ void -frame_to_registers (frame, regs) - struct StackFrame *frame; - char *regs; +frame_to_registers (struct StackFrame *frame, char *regs) { /* Copy EAX -> EDI */ mem2hex (&frame->ExceptionEAX, ®s[0 * 4 * 2], 4 * 8, 0); @@ -46,9 +44,7 @@ frame_to_registers (frame, regs) /* Put the registers back into the frame information. */ void -registers_to_frame (regs, frame) - char *regs; - struct StackFrame *frame; +registers_to_frame (char *regs, struct StackFrame *frame) { /* Copy EAX -> EDI */ hex2mem (®s[0 * 4 * 2], &frame->ExceptionEAX, 4 * 8, 0); @@ -67,23 +63,19 @@ registers_to_frame (regs, frame) } void -set_step_traps (frame) - struct StackFrame *frame; +set_step_traps (struct StackFrame *frame) { frame->ExceptionSystemFlags |= 0x100; } void -clear_step_traps (frame) - struct StackFrame *frame; +clear_step_traps (struct StackFrame *frame) { frame->ExceptionSystemFlags &= ~0x100; } void -do_status (ptr, frame) - char *ptr; - struct StackFrame *frame; +do_status (char *ptr, struct StackFrame *frame) { int sigval; |