summaryrefslogtreecommitdiff
path: root/src/devices/emulator/x86emu/debug.c
diff options
context:
space:
mode:
authorarch import user (historical) <svn@openbios.org>2005-07-06 17:15:57 +0000
committerarch import user (historical) <svn@openbios.org>2005-07-06 17:15:57 +0000
commit34120d1b4ffecca74a7ab327987f911308ba1247 (patch)
tree76641064c9ca02b8c0419a0374b989592c44e395 /src/devices/emulator/x86emu/debug.c
parent1c8cd59f3c9248f0954a5cf215dc3652ccfc8da5 (diff)
Revision: linuxbios@linuxbios.org--devel/freebios--devel--2.0--patch-39
Creator: Li-Ta Lo <ollie@lanl.gov> TLA sucks again This is the third time I try to commit only the emulator changes. I hope this patch contains the emulator changes only. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1955 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices/emulator/x86emu/debug.c')
-rw-r--r--src/devices/emulator/x86emu/debug.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/devices/emulator/x86emu/debug.c b/src/devices/emulator/x86emu/debug.c
index dd47e3d3a5..e25229a689 100644
--- a/src/devices/emulator/x86emu/debug.c
+++ b/src/devices/emulator/x86emu/debug.c
@@ -225,6 +225,7 @@ void X86EMU_dump_memory (u16 seg, u16 off, u32 amt)
void x86emu_single_step (void)
{
+#if 0
char s[1024];
int ps[10];
int ntok;
@@ -313,6 +314,7 @@ void x86emu_single_step (void)
break;
}
}
+#endif
}
int X86EMU_trace_on(void)
@@ -327,6 +329,7 @@ int X86EMU_trace_off(void)
static int parse_line (char *s, int *ps, int *n)
{
+#if 0
int cmd;
*n = 0;
@@ -352,6 +355,7 @@ static int parse_line (char *s, int *ps, int *n)
sscanf(s,"%x",&ps[*n]);
*n += 1;
}
+#endif
}
#endif /* DEBUG */