Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2013-10-29 08:42:27 +0000
committerEugene Tarassov2013-10-29 08:42:27 +0000
commit487a9a3e502b467f86c8403e7d069cfadd13a613 (patch)
treeb370795bcf77b3c15f8aeb57d80e890b1ce75a71 /plugins
parentd147deb47fe1b34649aa90b100b8e200c057c529 (diff)
downloadorg.eclipse.tcf-487a9a3e502b467f86c8403e7d069cfadd13a613.tar.gz
org.eclipse.tcf-487a9a3e502b467f86c8403e7d069cfadd13a613.tar.xz
org.eclipse.tcf-487a9a3e502b467f86c8403e7d069cfadd13a613.zip
TCF Debugger: fixed FindBugs warning: This method ignores the return value of java.io.InputStream.skip()...
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/ElfLoader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/ElfLoader.java b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/ElfLoader.java
index 4293836be..5d95a62f6 100644
--- a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/ElfLoader.java
+++ b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/model/ElfLoader.java
@@ -313,7 +313,7 @@ public class ElfLoader implements Runnable {
BigInteger phoff = readNumberX();
@SuppressWarnings("unused")
BigInteger shoff = readNumberX();
- file.skipBytes(6);
+ file.seek(file.getFilePointer() + 6);
int phentsize = readInt2();
int phnum = readInt2();

Back to the top