diff -rup -U 5 ../qemu-snap/monitor.c ./monitor.c --- ../qemu-snap/monitor.c 2004-08-26 19:53:10.000000000 +0100 +++ ./monitor.c 2004-09-07 02:38:05.000000000 +0100 @@ -780,16 +780,17 @@ static MonitorDef monitor_defs[] = { { "edx", offsetof(CPUState, regs[2]) }, { "ebx", offsetof(CPUState, regs[3]) }, { "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, }, { NULL }, };