* configure.tgt: Mark v850 as multi-arched.
[deliverable/binutils-gdb.git] / gdb / arc-tdep.c
index 10a1bc11b6c90dd917c30b3a3289c53b24b3f989..cab7721a4406de570052d5a3ab3a32a40ace339d 100644 (file)
@@ -296,6 +296,14 @@ arc_skip_prologue (CORE_ADDR pc, int frameless_p)
   return codestream_tell ();
 }
 
+/* Is the prologue at PC frameless?  */
+
+int
+arc_prologue_frameless_p (CORE_ADDR pc)
+{
+  return (pc == arc_skip_prologue (pc, 1));
+}
+
 /* Return the return address for a frame.
    This is used to implement FRAME_SAVED_PC.
    This is taken from frameless_look_for_prologue.  */
@@ -571,7 +579,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.023648 seconds and 4 git commands to generate.