OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Sep 24, 2020 9:43 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: OSDever.net abandoned?
PostPosted: Sat Jul 11, 2020 4:32 am 
Offline
Member
Member
User avatar

Joined: Tue Feb 18, 2020 3:29 pm
Posts: 314
QEMU is my favorite emulator, but there are three things I badly wish it could do. Dump GDT entries, dump IDT entries, and allow me to view a specific page mapping. Those three features in Bochs saved me quite a few times.

_________________
Working on NexBoot, a simple and lightweight GRUB replacement. and NeKe, a stable and fast microkernel. Part of the Nexware Project.


Top
 Profile  
 
 Post subject: Re: OSDever.net abandoned?
PostPosted: Sat Jul 11, 2020 4:55 am 
Offline
Member
Member
User avatar

Joined: Thu Oct 13, 2016 4:55 pm
Posts: 884
iansjack wrote:
bzt wrote:
Neither does qemu
That's just not true.
Use qemu in conjunction with gdb
Then you don't use qemu's built-in monitor, you're using GDB.

nexos wrote:
QEMU is my favorite emulator, but there are three things I badly wish it could do. Dump GDT entries, dump IDT entries, and allow me to view a specific page mapping. Those three features in Bochs saved me quite a few times.
Use the qemu's built-in monitor, that can show you such info. Not sure about a specific page, but it can dump the active MMU tables (so all pages at once) with "info tbl". Sadly there's no formatted "info gdt", you are limited to "x /fmt" for dumping the GDT and the IDT. The "info registers" command will show you the start offsets and limits.

Cheers,
bzt


Top
 Profile  
 
 Post subject: Re: OSDever.net abandoned?
PostPosted: Sat Jul 11, 2020 4:59 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 3941
Location: Chichester, UK
I did say I was talking about gdb. You use both gdb and the qemu monitor as they supply different information.

But the point is that gdb provides source-level debugging, whilst the Virtual box debugger doesn't.


Top
 Profile  
 
 Post subject: Re: OSDever.net abandoned?
PostPosted: Sat Jul 11, 2020 9:35 am 
Offline
Member
Member
User avatar

Joined: Thu Oct 13, 2016 4:55 pm
Posts: 884
iansjack wrote:
I did say I was talking about gdb.
And I did say I wasn't.
iansjack wrote:
But the point is that gdb provides source-level debugging, whilst the Virtual box debugger doesn't.
That ain't a fair comparition. As I said, a vm debugger will never be a source-level debugger, just as a source-level debugger never will be a vm debugger. You should compare VB debugger to bochs' and qemu's monitor in this regard. All I was saying, that now you can do things in VB debugger that you already could do in bochs and qemu monitor for ages (but VB lacked), and which never will be available to gdb. Sorry if I wasn't clear.

Cheers,
bzt


Top
 Profile  
 
 Post subject: Re: OSDever.net abandoned?
PostPosted: Sat Jul 11, 2020 10:10 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 3941
Location: Chichester, UK
I'm not really concerned with comparing debuggers. I just want something that does the job.

It's not as if I'm constrained to using just one tool.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 20 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 2 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