2002-04-09 Daniel Jacobowitz <drow@mvista.com>
[deliverable/binutils-gdb.git] / gdb / arc-tdep.c
index 10a1bc11b6c90dd917c30b3a3289c53b24b3f989..ffa538f6da2ceb503d89be2b244db6e70077e048 100644 (file)
@@ -571,7 +571,9 @@ arc_software_single_step (enum target_signal ignore,        /* sig but we don't need it
     }
 }
 \f
-#ifdef GET_LONGJMP_TARGET
+/* Because of Multi-arch, GET_LONGJMP_TARGET is always defined.  So test
+   for a definition of JB_PC.  */
+#ifdef JB_PC
 /* Figure out where the longjmp will land.  Slurp the args out of the stack.
    We expect the first arg to be a pointer to the jmp_buf structure from which
    we extract the pc (JB_PC) that we will land at.  The pc is copied into PC.
This page took 0.024356 seconds and 4 git commands to generate.