|
From: <sv...@va...> - 2009-05-04 06:14:42
|
Author: njn
Date: 2009-05-04 07:14:37 +0100 (Mon, 04 May 2009)
New Revision: 9757
Log:
Remove a dead function.
Modified:
branches/DARWIN/coregrind/m_debuginfo/debuginfo.c
Modified: branches/DARWIN/coregrind/m_debuginfo/debuginfo.c
===================================================================
--- branches/DARWIN/coregrind/m_debuginfo/debuginfo.c 2009-05-04 06:12:37 UTC (rev 9756)
+++ branches/DARWIN/coregrind/m_debuginfo/debuginfo.c 2009-05-04 06:14:37 UTC (rev 9757)
@@ -3404,29 +3404,6 @@
}
-
-// DDD: not used?
-Addr VG_(dlsym)(Char *fnname)
-{
- DebugInfo const *si = NULL;
-
- if (!fnname) return 0;
-
- while ((si = VG_(next_seginfo)(si))) {
- Int idx;
- for (idx = 0; idx < si->symtab_used; idx++) {
- if (si->symtab[idx].name) {
- if (0 == VG_(strcmp)(si->symtab[idx].name, fnname)) {
- return si->symtab[idx].addr;
- }
- }
- }
-
- }
-
- return 0;
-}
-
/*--------------------------------------------------------------------*/
/*--- end ---*/
/*--------------------------------------------------------------------*/
|