aboutsummaryrefslogtreecommitdiff
path: root/gdb/progspace.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/progspace.c')
-rw-r--r--gdb/progspace.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/progspace.c b/gdb/progspace.c
index 1a465ce..926c4ea 100644
--- a/gdb/progspace.c
+++ b/gdb/progspace.c
@@ -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