23 |
#ifndef _I386_DEBUG_ |
#ifndef _I386_DEBUG_ |
24 |
#define _I386_DEBUG_ |
#define _I386_DEBUG_ |
25 |
|
|
26 |
|
/* Dump a saved state. |
27 |
|
Probably a good idea to have this around |
28 |
|
even when DEBUG isn't turned on. */ |
29 |
|
void dump_ss(struct i386_saved_state *st); |
30 |
|
|
31 |
#ifdef DEBUG |
#ifdef DEBUG |
32 |
|
|
41 |
and all registers are saved. */ |
and all registers are saved. */ |
42 |
#ifndef ASSEMBLER |
#ifndef ASSEMBLER |
43 |
|
|
|
/* Dump a saved state. |
|
|
Probably a good idea to have this around |
|
|
even when DEBUG isn't turned on. */ |
|
|
void dump_ss(struct i386_saved_state *st); |
|
|
|
|
44 |
#define DEBUG_TRACE _debug_trace(__FILE__,__LINE__) |
#define DEBUG_TRACE _debug_trace(__FILE__,__LINE__) |
45 |
|
|
46 |
/* Reset the debug trace buffer so it contains no valid entries. */ |
/* Reset the debug trace buffer so it contains no valid entries. */ |