aboutsummaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-09-13 21:36:46 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-09-13 21:36:46 +0000
commit01038d2a7689aaedab55862e8d9691c8829355d3 (patch)
treeb624cba61f3ce491316aeb37f66e77547e8637f2 /monitor.c
parent03ffbb69a8e01eded2457ee5873e2fab6f4abf15 (diff)
monitor fix (Derek Fawcus)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1062 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/monitor.c b/monitor.c
index 89285c1a57..77426c5298 100644
--- a/monitor.c
+++ b/monitor.c
@@ -850,12 +850,13 @@ static MonitorDef monitor_defs[] = {
{ "esp|sp", offsetof(CPUState, regs[4]) },
{ "ebp|fp", offsetof(CPUState, regs[5]) },
{ "esi", offsetof(CPUState, regs[6]) },
- { "esi", offsetof(CPUState, regs[7]) },
+ { "edi", offsetof(CPUState, regs[7]) },
{ "eflags", offsetof(CPUState, eflags) },
{ "eip", offsetof(CPUState, eip) },
SEG("cs", R_CS)
SEG("ds", R_DS)
SEG("es", R_ES)
+ SEG("ss", R_SS)
SEG("fs", R_FS)
SEG("gs", R_GS)
{ "pc", 0, monitor_get_pc, },