Per-inferior/Inferior-qualified thread IDs
[deliverable/binutils-gdb.git] / gdb / python / py-breakpoint.c
index 640ec1bc01d05c5053507c4baf16d72fe4806579..85b17d5aa5fba972fcbff828d241088529045dc1 100644 (file)
@@ -203,7 +203,7 @@ bppy_set_thread (PyObject *self, PyObject *newvalue, void *closure)
       if (! gdb_py_int_as_long (newvalue, &id))
        return -1;
 
-      if (! valid_thread_id (id))
+      if (!valid_global_thread_id (id))
        {
          PyErr_SetString (PyExc_RuntimeError,
                           _("Invalid thread ID."));
This page took 0.024565 seconds and 4 git commands to generate.