From e7785473ef1ee90f8c99e88dec0932e15dcf67fa Mon Sep 17 00:00:00 2001 From: bernat Date: Wed, 5 Sep 2001 21:59:01 +0000 Subject: [PATCH] Removed debugging message. --- dyninstAPI/src/process.C | 4 ++-- dyninstAPI/src/symtab.C | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/dyninstAPI/src/process.C b/dyninstAPI/src/process.C index 70b3bb7..d55d703 100644 --- a/dyninstAPI/src/process.C +++ b/dyninstAPI/src/process.C @@ -39,7 +39,7 @@ * incur to third parties resulting from your use of Paradyn. */ -// $Id: process.C,v 1.264 2001/08/30 21:30:22 bernat Exp $ +// $Id: process.C,v 1.265 2001/09/05 21:59:01 bernat Exp $ extern "C" { #ifdef PARADYND_PVM @@ -4079,7 +4079,7 @@ pd_Function *process::findFuncByAddr(Address adr) if (returned_functions.size()) return returned_functions[0]; - cerr << "Checking original address" << endl; + //cerr << "Checking original address" << endl; // So we checked by entry points and by absolute addresses, and got no // matches. Check by relocated addresses and (possibly) offsets within diff --git a/dyninstAPI/src/symtab.C b/dyninstAPI/src/symtab.C index 045e978..7af8e01 100644 --- a/dyninstAPI/src/symtab.C +++ b/dyninstAPI/src/symtab.C @@ -39,7 +39,7 @@ * incur to third parties resulting from your use of Paradyn. */ -// $Id: symtab.C,v 1.130 2001/08/30 21:31:24 bernat Exp $ +// $Id: symtab.C,v 1.131 2001/09/05 21:59:02 bernat Exp $ #include #include @@ -1581,12 +1581,14 @@ pd_Function *image::findFuncByAddr(const Address &addr, return NULL; } +// This function assumes the given address is an offset within +// the file. + pd_Function *image::findFuncByEntryAddr(const Address &addr, const process */*p*/) const { pd_Function *pdf; - // Quick check of funcsByAddr if (funcsByAddr.find(addr, pdf)) return pdf; -- 1.8.3.1