From 716932544bebc8927e89a5a57e22243cfc821aa2 Mon Sep 17 00:00:00 2001 From: fros4943 Date: Wed, 19 Mar 2008 17:42:44 +0000 Subject: [PATCH] new elf debug object access --- .../src/se/sics/cooja/mspmote/plugins/MspCodeWatcher.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/plugins/MspCodeWatcher.java b/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/plugins/MspCodeWatcher.java index 8825ccb94..9618b37d3 100644 --- a/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/plugins/MspCodeWatcher.java +++ b/tools/cooja/apps/mspsim/src/se/sics/cooja/mspmote/plugins/MspCodeWatcher.java @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: MspCodeWatcher.java,v 1.5 2008/03/19 17:27:35 fros4943 Exp $ + * $Id: MspCodeWatcher.java,v 1.6 2008/03/19 17:42:44 fros4943 Exp $ */ package se.sics.cooja.mspmote.plugins; @@ -639,7 +639,7 @@ public class MspCodeWatcher extends VisPlugin { } private File[] getAllSourceFileNames() { - String[] sourceFiles = mspMote.getELF().debug.getSourceFiles(); + String[] sourceFiles = mspMote.getELF().getDebug().getSourceFiles(); Vector files = new Vector(); for (String sourceFile: sourceFiles) { @@ -669,7 +669,7 @@ public class MspCodeWatcher extends VisPlugin { private Hashtable> getFirmwareDebugInfo() { /* Fetch all executable addresses */ - ArrayList addresses = mspMote.getELF().debug.getExecutableAddresses(); + ArrayList addresses = mspMote.getELF().getDebug().getExecutableAddresses(); Hashtable> fileToLineHash = new Hashtable>();