[patch/rfc] register_type() for REGISTER_VIRTUAL_TYPE()

Andrew Cagney ac131313@ges.redhat.com
Sun Aug 25 10:14:00 GMT 2002


> 2002-08-17  Andrew Cagney  <ac131313@redhat.com>
> 
> 	* regcache.c (struct regcache_descr): Add field register_type.
> 	(init_legacy_regcache_descr): Pass a pre-allocated regcache_descr
> 	in as a parameter
> 	(init_regcache_descr): Initialize register_type.  Pass the descr
> 	to init_legacy_regcache_descr.  Use register_type instead of
> 	REGISTER_VIRTUAL_TYPE.
> 	(register_type): New function.
> 	(regcache_dump): Replace REGISTER_VIRTUAL_TYPE with register_type.
> 	* regcache.h (register_type): Declare.
> 
I've checked this in (including the tipo fix Kevin noticed).

Andrew




More information about the Gdb-patches mailing list