* sparc-tdep.c (sparc_target_architecture_hook): New function to
authorMark Alexander <marka@cygnus>
Tue, 2 Jun 1998 09:19:54 +0000 (09:19 +0000)
committerMark Alexander <marka@cygnus>
Tue, 2 Jun 1998 09:19:54 +0000 (09:19 +0000)
commit33c65ba3b304c0b26899385fae3987b95c70d4f4
tree8e664522a1b9534a2498ffaa2389f83d1d25b0f2
parent7d449b448baf41aef6f4df11627ee4dd7543bacb
* sparc-tdep.c (sparc_target_architecture_hook): New function to
set endianness based on machine type.
(_initialize_sparc_tdep): Initialize target_architecture_hook.
(sparc_print_register_hook): Print PSR and FPSR in fancy format
on 32-bit machines.
* config/sparc/tm-sparc.h (PRINT_REGISTER_HOOK): Redefine to
call sparc_print_register_hook instead of using inline code.
* config/sparc/tm-sp64.h (PRINT_REGISTER_HOOK): Remove.
gdb/ChangeLog
gdb/config/sparc/tm-sp64.h
gdb/config/sparc/tm-sparc.h
gdb/sparc-tdep.c