diff options
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 */ |