convert to_core_of_thread
[deliverable/binutils-gdb.git] / gdb / target.h
index cb0bed2d722e4948e2bbc3cf69ab81efc93df701..0a6c467fa9f7f86ab68a0cb8ba1b5ab541f1ab15 100644 (file)
@@ -933,7 +933,8 @@ struct target_ops
        If the core cannot be determined -- either for the specified
        thread, or right now, or in this debug session, or for this
        target -- return -1.  */
-    int (*to_core_of_thread) (struct target_ops *, ptid_t ptid);
+    int (*to_core_of_thread) (struct target_ops *, ptid_t ptid)
+      TARGET_DEFAULT_RETURN (-1);
 
     /* Verify that the memory in the [MEMADDR, MEMADDR+SIZE) range
        matches the contents of [DATA,DATA+SIZE).  Returns 1 if there's
This page took 0.023871 seconds and 4 git commands to generate.