Rev 3108 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3108 | Rev 4393 | ||
---|---|---|---|
Line 164... | Line 164... | ||
164 | 164 | ||
165 | rc = udebug_regs_read(app_phone, thash, &istate); |
165 | rc = udebug_regs_read(app_phone, thash, &istate); |
166 | if (rc < 0) { cons_printf("Error reading regs\n"); return; } |
166 | if (rc < 0) { cons_printf("Error reading regs\n"); return; } |
167 | 167 | ||
168 | cons_printf( |
168 | cons_printf( |
169 | "eip:%08x eflags:%08x eax:%08x ebx:%08x ecx:%08x edx:%08x\n" |
169 | "eip:%08x eflags:%08x eax:%08x ecx:%08x edx:%08x\n" |
170 | "esi:%08x edi:%08x cs:%04x ds:%04x es:%04x fs:%04x gs:%04x\n", |
170 | "cs:%04x ds:%04x es:%04x fs:%04x gs:%04x\n", |
171 | istate.eip, istate.eflags, istate.eax, istate.ebx, |
171 | istate.eip, istate.eflags, istate.eax, |
172 | istate.ecx, istate.edx, istate.esi, istate.edi, istate.cs, |
172 | istate.ecx, istate.edx, istate.cs, |
173 | istate.ds, istate.es, istate.fs, istate.gs); |
173 | istate.ds, istate.es, istate.fs, istate.gs); |
174 | } |
174 | } |
175 | 175 | ||
176 | void arch_singlestep(dthread_t *dt) |
176 | void arch_singlestep(dthread_t *dt) |
177 | { |
177 | { |