Re: Bug in i386_process_record?

Eli Zaretskii
2009-08-23T18:23:34Z

> Date: Sat, 22 Aug 2009 21:07:38 -0700
> From: Michael Snyder <msnyder@vmware.com>
> CC: gdb-patches ml <gdb-patches@sourceware.org>
>
> > Most of the string ops instruction will use segment register.
> > But I check the some linux program that have string ops insn. I found
> > that in linux (maybe glibc), the value of the segment register is 0,
> > so it will not affect anything.
>
> Hmm, ok, but this is i386-tdep.c, not i386-linux-tdep.c...

Exactly. And what happens on systems where the segment register is
NOT zero?