Move VG_(am_get_filename) to the tool accessible aspacemgr header file.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5141 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/pub_core_aspacemgr.h b/coregrind/pub_core_aspacemgr.h
index 88b9127..5671880 100644
--- a/coregrind/pub_core_aspacemgr.h
+++ b/coregrind/pub_core_aspacemgr.h
@@ -103,7 +103,8 @@
has one. The returned name's storage cannot be assumed to be
persistent, so the caller should immediately copy the name
elsewhere. */
-extern HChar* VG_(am_get_filename)( NSegment* );
+// Is in tool-visible header file.
+// extern HChar* VG_(am_get_filename)( NSegment* );
/* VG_(am_get_segment_starts) is also part of this section, but its
prototype is tool-visible, hence not in this header file. */
diff --git a/include/pub_tool_aspacemgr.h b/include/pub_tool_aspacemgr.h
index 03553b4..3968d76 100644
--- a/include/pub_tool_aspacemgr.h
+++ b/include/pub_tool_aspacemgr.h
@@ -137,6 +137,9 @@
extern NSegment* VG_(am_find_nsegment) ( Addr a );
// See pub_core_aspacemgr.h for description.
+extern HChar* VG_(am_get_filename)( NSegment* );
+
+// See pub_core_aspacemgr.h for description.
extern Bool VG_(am_is_valid_for_client) ( Addr start, SizeT len,
UInt prot );