Re: Bug in i386_process_record?

Eli Zaretskii
2009-08-24T03:15:17Z

> Date: Sun, 23 Aug 2009 19:53:20 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Eli Zaretskii <eliz@gnu.org>, msnyder@vmware.com,
> gdb-patches@sourceware.org
>
> If I remember correctly, the %es that GDB sees is the selector rather
> than the base address.

Yes, at least in the DJGPP Port, that's so.

> I think any halfway recent Linux kernel exposes both values, but GDB
> doesn't display the bases - this probably bears fixing!

There's a system call in DJGPP to get the base address; see "info
dos".