Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2017-08-02 20:48:13 +0000
committerEugene Tarassov2017-08-02 20:48:13 +0000
commit70a7c3dc41120582f21d211e4301daaca3bf9c72 (patch)
treecc14ab3c41e1c024110c21a701176608440a5d4c
parent7afae51c948460259f3baae1a718879207b487f5 (diff)
downloadorg.eclipse.tcf-70a7c3dc41120582f21d211e4301daaca3bf9c72.tar.gz
org.eclipse.tcf-70a7c3dc41120582f21d211e4301daaca3bf9c72.tar.xz
org.eclipse.tcf-70a7c3dc41120582f21d211e4301daaca3bf9c72.zip
TCF Tests: more tests for GDB Remote Serial Protocol
-rw-r--r--tests/plugins/org.eclipse.tcf.debug.gdb.test/src/org/eclipse/tcf/debug/gdb/test/TestThread.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/plugins/org.eclipse.tcf.debug.gdb.test/src/org/eclipse/tcf/debug/gdb/test/TestThread.java b/tests/plugins/org.eclipse.tcf.debug.gdb.test/src/org/eclipse/tcf/debug/gdb/test/TestThread.java
index 10cc5e2ba..d4b9248eb 100644
--- a/tests/plugins/org.eclipse.tcf.debug.gdb.test/src/org/eclipse/tcf/debug/gdb/test/TestThread.java
+++ b/tests/plugins/org.eclipse.tcf.debug.gdb.test/src/org/eclipse/tcf/debug/gdb/test/TestThread.java
@@ -185,6 +185,14 @@ class TestThread extends Thread {
reg_val = new BigInteger(s0.substring(0, s0i), 16);
}
+ cmd("info all-reg");
+ if (std_out.lst.size() == 0 || std_err.lst.size() > 0)
+ throw new Exception("Invalid 'info all-reg' reply");
+
+ cmd("info float");
+ if (std_out.lst.size() == 0 || std_err.lst.size() > 0)
+ throw new Exception("Invalid 'info float' reply");
+
cmd("p/x $" + reg_name);
if (std_out.lst.size() < 1)
throw new Exception("Invalid 'p/x' reply: cnt < 1");

Back to the top