diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-12-13 23:28:46 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-12-13 23:28:46 +0000 |
commit | aaa3c096db1beebb67015bc8711cf908f7f2559b (patch) | |
tree | 995a38e75405d3096a58908fdff890b60d6604bc /gdb/sh-tdep.c | |
parent | f14397f057f762839f030ff08d49f76e7e3117ca (diff) | |
download | gdb-aaa3c096db1beebb67015bc8711cf908f7f2559b.zip gdb-aaa3c096db1beebb67015bc8711cf908f7f2559b.tar.gz gdb-aaa3c096db1beebb67015bc8711cf908f7f2559b.tar.bz2 |
CARP:
Re-do TARGET_PRINT_INSN_INFO, TARGET_PRINT_INSN, TARGET_ARCHITECTURE,
TARGET_ARCHITECTURE_AUTO, TARGET_BYTE_ORDER_SELECTABLE_P,
TARGET_BYTE_ORDER so that they can all be overriden.
Document.
Convert mn10300 and PPC targets.
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r-- | gdb/sh-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index 55fef89..226ca2f 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -626,8 +626,8 @@ sh_show_regs (args, from_tty) int from_tty; { int cpu; - if (target_architecture->arch == bfd_arch_sh) - cpu = target_architecture->mach; + if (TARGET_ARCHITECTURE->arch == bfd_arch_sh) + cpu = TARGET_ARCHITECTURE->mach; else cpu = 0; /* FIXME: sh4 has more registers */ |