[patch/rfc] Rid arch-utils of !GDB_MULTI_ARCH

Andrew Cagney ac131313@redhat.com
Thu Aug 21 20:40:00 GMT 2003


> Hello,
> 
> This patch rids arch-utils of non-multi-arch code.  One interesting bit.  In sh3-rom.c, I replaced a call to a deleted set architecture function with the corresponding call to update_gdbarch_p.
> 
> I'll commit this in a few days,

I've checked this in.

Andrew

> 2003-08-18  Andrew Cagney  <cagney@redhat.com>
> 
> 	* sh3-rom.c (sh3_open, sh3e_open): Use gdbarch_update_p to select
> 	a specific architecture.
> 	* arch-utils.h (set_architecture_from_arch_mach): Delete
> 	declaration.
> 	(target_architecture_hook): Delete declaration.
> 	* arch-utils.c: Delete non GDB_MULTI_ARCH includes.
> 	(default_float_format): Assume GDB_MULTI_ARCH.
> 	(default_double_format): Assume GDB_MULTI_ARCH.
> 	(set_endian_from_file): Delete function.
> 	(arch_ok): Delete function.
> 	(set_arch): Delete function.
> 	(set_architecture_from_arch_mach): Delete function.
> 	(set_architecture_from_file): Delete function.
> 	(set_architecture): Assume GDB_MULTI_ARCH.
> 	(set_gdbarch_from_file): Assume GDB_MULTI_ARCH.




More information about the Gdb-patches mailing list