This is the mail archive of the
mailing list for the GDB project.
Re: Bug in i386_process_record?
> From: Hui Zhu <email@example.com>
> Date: Tue, 25 Aug 2009 13:02:44 +0800
> Cc: firstname.lastname@example.org, email@example.com
> It seems that the segment (It is not the section) registers in x86
> protect mode is just help MMU to get the physical address. It's
> transparent for the user level program.
It's transparent if $es and $ds have the same value (which they
usually do, AFAIK).
> What do you think about remove this warning from this patch?
I would indeed do that, if we find that $es and $ds have the same
values. Assuming that someone who knows Linux better than I do
confirms that these two registers hold the same selector when a normal
application is running in user mode.