* target-reloc.h (visibility_error): New inline function.
[deliverable/binutils-gdb.git] / gdb / progspace.c
index 1a465ce42cc6bd41200be1ef870d1839ab9b63f5..200f0b86a200afe90d13167c66ec3b000f844823 100644 (file)
@@ -1,6 +1,6 @@
 /* Program and address space management, for GDB, the GNU debugger.
 
-   Copyright (C) 2009 Free Software Foundation, Inc.
+   Copyright (C) 2009, 2010 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -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
This page took 0.026378 seconds and 4 git commands to generate.