This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Bug in i386_process_record?
On Tue, Aug 25, 2009 at 03:19, Eli Zaretskii<eliz@gnu.org> wrote:
>> From: Hui Zhu <teawater@gmail.com>
>> Date: Mon, 24 Aug 2009 07:42:41 +0800
>> Cc: gdb-patches@sourceware.org
>>
>> For the gdb, the value of segment reg is not the really value.
>> cs ? ? ? ? ? ? 0x73 ? 115
>> ss ? ? ? ? ? ? 0x7b ? 123
>> ds ? ? ? ? ? ? 0x7b ? 123
>> es ? ? ? ? ? ? 0x7b ? 123
>> fs ? ? ? ? ? ? 0x0 ? ?0
>> gs ? ? ? ? ? ? 0x33 ? 51
>> I have tried some insn that use segment reg such as string ops insn.
>> I found that the value of this segment reg cannot affect anything.
>
> Did you try setjmp and longjmp?
>
Signal and setjmp longjump is still not tested. I will do it.
Thanks,
Hui