Commit 01038d2a7689aaedab55862e8d9691c8829355d3
1 parent
03ffbb69
monitor fix (Derek Fawcus)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1062 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
1 deletions
monitor.c
... | ... | @@ -850,12 +850,13 @@ static MonitorDef monitor_defs[] = { |
850 | 850 | { "esp|sp", offsetof(CPUState, regs[4]) }, |
851 | 851 | { "ebp|fp", offsetof(CPUState, regs[5]) }, |
852 | 852 | { "esi", offsetof(CPUState, regs[6]) }, |
853 | - { "esi", offsetof(CPUState, regs[7]) }, | |
853 | + { "edi", offsetof(CPUState, regs[7]) }, | |
854 | 854 | { "eflags", offsetof(CPUState, eflags) }, |
855 | 855 | { "eip", offsetof(CPUState, eip) }, |
856 | 856 | SEG("cs", R_CS) |
857 | 857 | SEG("ds", R_DS) |
858 | 858 | SEG("es", R_ES) |
859 | + SEG("ss", R_SS) | |
859 | 860 | SEG("fs", R_FS) |
860 | 861 | SEG("gs", R_GS) |
861 | 862 | { "pc", 0, monitor_get_pc, }, | ... | ... |