| Date: | Wed, 28 Nov 2012 11:22:35 +0000 |
|---|---|
| From: | Wei Ming Khoo <weimzz@xxxxxxxxx> |
| Subject: | [DynInst_API:] [PATCH] BPatch_localVar::getFrameOffset() missing not |
|
Minor bug. Regards, --wm --- diff --git a/dyninstAPI/src/BPatch_type.C b/dyninstAPI/src/BPatch_type.C index 7984437..176f029 100644
--- a/dyninstAPI/src/BPatch_type.C +++ b/dyninstAPI/src/BPatch_type.C @@ -560,7 +560,7 @@ long BPatch_localVar::getFrameOffset() { vector<Dyninst::VariableLocation> &locs = lVar->getLocationLists();
- if (locs.size()) + if (!locs.size()) return -1; return locs[0].frameOffset; |
| [← Prev in Thread] | Current Thread | [Next in Thread→] |
|---|---|---|
| ||
| Previous by Date: | Re: [DynInst_API:] [dynC_API], 郭维超 |
|---|---|
| Next by Date: | [DynInst_API:] Rewriter output file naming question, Andrew Bernat |
| Previous by Thread: | [DynInst_API:] Paradyn/Dyninst Meeting 2012, Jeff Hollingsworth |
| Next by Thread: | [DynInst_API:] [PATCH] Bump the Linux DYNINSTheap_loAddr to 64K, Josh Stone |
| Indexes: | [Date] [Thread] |