|
From: <sv...@va...> - 2008-05-21 14:17:48
|
Author: bart
Date: 2008-05-21 15:17:42 +0100 (Wed, 21 May 2008)
New Revision: 8112
Log:
Undid function reordering, in order to minimize the diffs with the trunk.
Modified:
branches/CROSS_COMPILATION/coregrind/m_debuginfo/debuginfo.c
branches/CROSS_COMPILATION/include/pub_tool_debuginfo.h
Modified: branches/CROSS_COMPILATION/coregrind/m_debuginfo/debuginfo.c
===================================================================
--- branches/CROSS_COMPILATION/coregrind/m_debuginfo/debuginfo.c 2008-05-20 12:35:39 UTC (rev 8111)
+++ branches/CROSS_COMPILATION/coregrind/m_debuginfo/debuginfo.c 2008-05-21 14:17:42 UTC (rev 8112)
@@ -2186,11 +2186,6 @@
return di->text_present ? di->text_size : 0;
}
-ULong VG_(seginfo_get_text_bias)(const DebugInfo* di)
-{
- return di->text_present ? di->text_bias : 0;
-}
-
Addr VG_(seginfo_get_plt_avma)(const DebugInfo* di)
{
return di->plt_present ? di->plt_avma : 0;
@@ -2221,6 +2216,11 @@
return di->filename;
}
+ULong VG_(seginfo_get_text_bias)(const DebugInfo* di)
+{
+ return di->text_present ? di->text_bias : 0;
+}
+
Int VG_(seginfo_syms_howmany) ( const DebugInfo *si )
{
return si->symtab_used;
Modified: branches/CROSS_COMPILATION/include/pub_tool_debuginfo.h
===================================================================
--- branches/CROSS_COMPILATION/include/pub_tool_debuginfo.h 2008-05-20 12:35:39 UTC (rev 8111)
+++ branches/CROSS_COMPILATION/include/pub_tool_debuginfo.h 2008-05-21 14:17:42 UTC (rev 8112)
@@ -119,13 +119,13 @@
/* Fish bits out of DebugInfos. */
extern Addr VG_(seginfo_get_text_avma)( const DebugInfo *di );
extern SizeT VG_(seginfo_get_text_size)( const DebugInfo *di );
-extern ULong VG_(seginfo_get_text_bias)( const DebugInfo *di );
extern Addr VG_(seginfo_get_plt_avma) ( const DebugInfo *di );
extern SizeT VG_(seginfo_get_plt_size) ( const DebugInfo *di );
extern Addr VG_(seginfo_get_gotplt_avma)( const DebugInfo *di );
extern SizeT VG_(seginfo_get_gotplt_size)( const DebugInfo *di );
extern const UChar* VG_(seginfo_soname) ( const DebugInfo *di );
extern const UChar* VG_(seginfo_filename) ( const DebugInfo *di );
+extern ULong VG_(seginfo_get_text_bias)( const DebugInfo *di );
/* Function for traversing the seginfo list. When called with NULL it
returns the first element; otherwise it returns the given element's
|