OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Mar 29, 2024 5:00 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: qemu + gdb , CR0
PostPosted: Wed Nov 14, 2012 4:07 am 
Offline
Member
Member
User avatar

Joined: Thu Jun 22, 2006 8:33 am
Posts: 175
Location: Hong Kong
Dear All
i am using qemu with gdb, but i can dump out the CR0 and CR2 register from command "info all registers", please help?
thanks
from Peter ([email protected])


Top
 Profile  
 
 Post subject: Re: qemu + gdb , CR0
PostPosted: Wed Nov 14, 2012 4:20 am 
Offline
Member
Member
User avatar

Joined: Wed Dec 01, 2010 3:41 am
Posts: 1761
Location: Hong Kong
there is no way to show cr0 directly with qemu+gdb, you may workaround by mov the values to regular registers.
On the other hand, you can check all registers with bochs.


Top
 Profile  
 
 Post subject: Re: qemu + gdb , CR0
PostPosted: Wed Nov 14, 2012 4:28 am 
Offline

Joined: Sun Nov 11, 2012 5:36 pm
Posts: 18
bluemoon wrote:
there is no way to show cr0 directly with qemu+gdb, you may workaround by mov the values to regular registers.
On the other hand, you can check all registers with bochs.


You can also use the Monitor Console in QEMU via Ctrl+Alt+2 then type info registers there.


Top
 Profile  
 
 Post subject: Re: qemu + gdb , CR0
PostPosted: Wed Nov 14, 2012 4:47 am 
Offline
Member
Member
User avatar

Joined: Thu Jun 22, 2006 8:33 am
Posts: 175
Location: Hong Kong
thanks mich


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot] and 129 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group