Bug in i386_process_record?

Eli Zaretskii eliz@gnu.org
Wed Aug 26 03:27:00 GMT 2009


> From: Hui Zhu <teawater@gmail.com>
> Date: Wed, 26 Aug 2009 10:58:39 +0800
> Cc: msnyder@vmware.com, gdb-patches@sourceware.org
> 
> I add some code about it:
>           regcache_raw_read_unsigned (ir.regcache,
>                                       ir.regmap[X86_RECORD_ES_REGNUM],
>                                       &es);
>           regcache_raw_read_unsigned (ir.regcache,
>                                       ir.regmap[X86_RECORD_DS_REGNUM],
>                                       &ds);
>           if (ir.aflag && (es != ds))
>             {
> 
> After that, we will not get the warning because the es is same with ds
> in user level.
> 
> What do you think about it?

Sounds good to me.



More information about the Gdb-patches mailing list