new elf debug object access

This commit is contained in:
fros4943 2008-03-19 17:42:44 +00:00
parent 12c094409a
commit 716932544b

View File

@ -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<File> files = new Vector<File>();
for (String sourceFile: sourceFiles) {
@ -669,7 +669,7 @@ public class MspCodeWatcher extends VisPlugin {
private Hashtable<File, Hashtable<Integer, Integer>> getFirmwareDebugInfo() {
/* Fetch all executable addresses */
ArrayList<Integer> addresses = mspMote.getELF().debug.getExecutableAddresses();
ArrayList<Integer> addresses = mspMote.getELF().getDebug().getExecutableAddresses();
Hashtable<File, Hashtable<Integer, Integer>> fileToLineHash =
new Hashtable<File, Hashtable<Integer, Integer>>();