[cagney_convert-20030606-branch] Use REGISTER_TO_VALUE et.al. on i386

Andrew Cagney ac131313@redhat.com
Mon Jun 9 20:29:00 GMT 2003


> With this patch the tests in store.exp all PASS with GCC 2.95.4 from
> FreeBSD 4.7.  There are still 4 FAILs with GCC 3.2.2, but these seem
> to be caused by incorrect line number info.
> 
> Checked in on the branch.

Dam, we'll need more tests :-)

Andrew


> Index: ChangeLog
> from  Mark Kettenis  <kettenis@gnu.org>
>  
> 	* i386-tdep.c (I386_EBX_REGNUM, I386_ECX_REGNUM, I386_ESI_REGNUM,
> 	I386_EDI_REGNUM): New defines.
> 	(i386_next_regnum, i386_convert_register_p,
> 	i386_register_to_value, i386_value_to_register): New functions.
> 	(i386_register_convertible, i386_register_convert_to_virtual,
> 	i386_convert_to_raw): Remove functions.
> 	(i386_gdbarch_init): Set convert_register_p, register_to_value and
> 	value_to_register instead of register_convertible,
> 	register_convert_to_virtual and register_convert_to_raw.
> 




More information about the Gdb-patches mailing list