This is the mail archive of the
mailing list for the GDB project.
Re: Bug in i386_process_record?
On Mon, Aug 24, 2009 at 07:42:41AM +0800, Hui Zhu wrote:
> On Mon, Aug 24, 2009 at 02:24, Eli Zaretskii <email@example.com> wrote:
> > > From: Hui Zhu <firstname.lastname@example.org>
> > > Date: Sun, 23 Aug 2009 12:29:33 +0800
> > > Cc: gdb-patches ml <email@example.com>
> > >
> > > read_register (I386_ES_REGNUM)
> > > This value is not the value of ES. ?This is number of TLB.
> > On what OS?
If I remember correctly, the %es that GDB sees is the selector rather
than the base address. I think any halfway recent Linux kernel
exposes both values, but GDB doesn't display the bases - this probably