On 2013-08-14 04:49, Peter Cheung wrote:
> Hi    2. I have compile my qemu to --target-list=x86_64-softmmu , in gdb, why 
> the registers is 32 bits?
> (gdb) i reax            0x0   0ecx            0xf7    247edx            
> 0x19a804      1681412ebx            0x137     311esp            0x19a0d0      
> 0x19a0d0ebp            0x9000   0x9000esi            0x19a120   1679648edi    
>         0x0       0eip            0x1098b7        0x1098b7eflags         
> 0x246    582cs             0x10  16ss             0x18   24ds             
> 0x18   24es             0x18   24fs             0x2b   43gs             0x18  
>  24
> 
>       2. How can i view CR0 register in gdb?

The remote gdb protocol does not yet include extended registers, so you
need to fall back to the QEMU monitor. Type "monitor info registers".

Jan

-- 
Siemens AG, Corporate Technology, CT RTC ITP SES-DE
Corporate Competence Center Embedded Linux

Reply via email to