www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/01/01:53:21

Date: Fri, 01 Jun 2001 08:50:54 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Mark Stephen Krueger" <mkrueger AT nvidia DOT com>
Message-Id: <2593-Fri01Jun2001085054+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <000b01c0ea24$55501dd0$e70610ac@speakeasy.net>
(mkrueger AT nvidia DOT com)
Subject: Re: GDB and FSDB - getting x86 specific info (page tables, ldt, gdt)
References: <000b01c0ea24$55501dd0$e70610ac AT speakeasy DOT net>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Mark Stephen Krueger" <mkrueger AT nvidia DOT com>
> Date: Thu, 31 May 2001 17:52:12 -0500
> 
> What is the easiest way in either gdb or fsdb to be able to view the page
> tables?

AFAIK, you can't: accessing page tables needs to run at ring 0,
because the instructions to do that are privileged.

> Also, can gdb display info about the LDT and GDT?

What info about these tables do you want to display?

> Can either of these debuggers dump memory using a specific selector?

Please define ``dump memory''.  GDB generally displays memory
addresses as variables; if you mean ``dump memory'' the DEBUG.COM
style, then it cannot do that, even for memory that is part of the
normal DS selector addressable range.  FSDB does have a memory pane,
though.

As for other selectors, I don't think you can do that currently.  If
you have specific needs, there might be a way to do something, so
please consider telling what memory do you need to dump and why.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019