This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 <eliz@gnu.org> wrote:
> >
> > > From: Hui Zhu <teawater@gmail.com>
> > > Date: Sun, 23 Aug 2009 12:29:33 +0800
> > > Cc: gdb-patches ml <gdb-patches@sourceware.org>
> > >
> > > 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
bears fixing!

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]