This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Bug in i386_process_record?
> 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".