* infrun.c (adjust_pc_after_break): Do not assume software single-step
[deliverable/binutils-gdb.git] / gdb / nto-procfs.c
index 57bfd87597a1147c4d2bf35057146a93f8021fd9..7239fdb89f1b5e0b3ec15d2a8f41fed7a0c78feb 100644 (file)
@@ -203,7 +203,8 @@ procfs_open (char *arg, int from_tty)
          else
            {
              if (sysinfo->type !=
-                 nto_map_arch_to_cputype (TARGET_ARCHITECTURE->arch_name))
+                 nto_map_arch_to_cputype (gdbarch_bfd_arch_info
+                                          (current_gdbarch)->arch_name))
                {
                  close (fd);
                  error (_("Invalid target CPU."));
This page took 0.023219 seconds and 4 git commands to generate.