2002-01-21 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Tue, 22 Jan 2002 00:22:38 +0000 (00:22 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Tue, 22 Jan 2002 00:22:38 +0000 (00:22 +0000)
commitf81353e4f9687c2b3343f61b4018b4a859a0995a
treed9e7bfc7671f3ffd3580c88206abb5deb09c8281
parente9afe819c3ac40ff4d88c2258649d699d11ab743
2002-01-21  Elena Zannoni  <ezannoni@redhat.com>

* sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments,
sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs,
sh_sh4_register_byte, sh_sh4_register_raw_size,
sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type,
sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual,
sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register,
sh_store_pseudo_register, sh_do_pseudo_register): Call
gdbarch_tdep() just once, assign result to variable and use that,
instead of calling the function several times.
gdb/ChangeLog
gdb/sh-tdep.c