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,12 +850,13 @@ static MonitorDef monitor_defs[] = { | ||
850 | { "esp|sp", offsetof(CPUState, regs[4]) }, | 850 | { "esp|sp", offsetof(CPUState, regs[4]) }, |
851 | { "ebp|fp", offsetof(CPUState, regs[5]) }, | 851 | { "ebp|fp", offsetof(CPUState, regs[5]) }, |
852 | { "esi", offsetof(CPUState, regs[6]) }, | 852 | { "esi", offsetof(CPUState, regs[6]) }, |
853 | - { "esi", offsetof(CPUState, regs[7]) }, | 853 | + { "edi", offsetof(CPUState, regs[7]) }, |
854 | { "eflags", offsetof(CPUState, eflags) }, | 854 | { "eflags", offsetof(CPUState, eflags) }, |
855 | { "eip", offsetof(CPUState, eip) }, | 855 | { "eip", offsetof(CPUState, eip) }, |
856 | SEG("cs", R_CS) | 856 | SEG("cs", R_CS) |
857 | SEG("ds", R_DS) | 857 | SEG("ds", R_DS) |
858 | SEG("es", R_ES) | 858 | SEG("es", R_ES) |
859 | + SEG("ss", R_SS) | ||
859 | SEG("fs", R_FS) | 860 | SEG("fs", R_FS) |
860 | SEG("gs", R_GS) | 861 | SEG("gs", R_GS) |
861 | { "pc", 0, monitor_get_pc, }, | 862 | { "pc", 0, monitor_get_pc, }, |