* linux-nat.c (linux_nat_thread_address_space): New.
[platform/upstream/binutils.git] / gdb / progspace.c
index 1a465ce..926c4ea 100644 (file)
@@ -89,6 +89,12 @@ free_address_space (struct address_space *aspace)
   xfree (aspace);
 }
 
+int
+address_space_num (struct address_space *aspace)
+{
+  return aspace->num;
+}
+
 /* Start counting over from scratch.  */
 
 static void