]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ada-lang.h
Provide the "Base CPU" in output of "info task" (if set by runtime).
[thirdparty/binutils-gdb.git] / gdb / ada-lang.h
index d15fbbdd4219968dbce71f281694fc5f9a106a13..c11fb48c1b35d3115f03f62f0eb1bd7ee2b28b13 100644 (file)
@@ -141,6 +141,12 @@ struct ada_task_info
   /* If the task is accepting a rendezvous with another task, this field
      contains the ID of the calling task.  Zero otherwise.  */
   CORE_ADDR caller_task;
+
+  /* The CPU on which the task is running.  This is dependent on
+     the runtime actually providing that info, which is not always
+     the case.  Normally, we should be able to count on it on
+     bare-metal targets.  */
+  int base_cpu;
 };
 
 /* Assuming V points to an array of S objects,  make sure that it contains at