Re: Bug in i386_process_record?

Hui Zhu
2009-08-23T23:56:59Z

On Mon, Aug 24, 2009 at 07:53, Daniel Jacobowitz<drow@false.org> wrote:
> 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!
>
If this value can be added, it will be very great for me. :)

Thanks,
Hui