aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/simulate-thread/simulate-thread.gdb
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2011-10-10 13:42:41 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2011-10-10 13:42:41 +0000
commitff8e7c4d682099d61e81a20b465280bcc7cdaab5 (patch)
treebba6939b464863b1cd47394507ef6db3d08fb471 /gcc/testsuite/gcc.dg/simulate-thread/simulate-thread.gdb
parent53fbb7241f0d2d4e3a4eb8b3225671b121091b06 (diff)
downloadgcc-ff8e7c4d682099d61e81a20b465280bcc7cdaab5.zip
gcc-ff8e7c4d682099d61e81a20b465280bcc7cdaab5.tar.gz
gcc-ff8e7c4d682099d61e81a20b465280bcc7cdaab5.tar.bz2
gcc-simulate-thread.exp: New.
* lib/gcc-simulate-thread.exp: New. * gcc.dg/simulate-thread/guality.h: New. * gcc.dg/simulate-thread/simulate-thread.h: New. * gcc.dg/simulate-thread/simulate-thread.exp: New. * gcc.dg/simulate-thread/simulate-thread.gdb: New. * gcc.dg/simulate-thread/README: New. * g++.dg/simulate-thread/guality.h: New. * g++.dg/simulate-thread/simulate-thread.h: New. * g++.dg/simulate-thread/simulate-thread.exp: New. * g++.dg/simulate-thread/simulate-thread.gdb: New. * c-c++-common/cxxbitfields-2.c: Remove. * c-c++-common/cxxbitfields.c: Remove. * c-c++-common/cxxbitfields-4.c: Remove. * c-c++-common/cxxbitfields-5.c: Remove. * c-c++-common/simulate-thread/bitfields-1.c: New. * c-c++-common/simulate-thread/bitfields-2.c: New. * c-c++-common/simulate-thread/bitfields-3.c: New. * c-c++-common/simulate-thread/bitfields-4.c: New. From-SVN: r179751
Diffstat (limited to 'gcc/testsuite/gcc.dg/simulate-thread/simulate-thread.gdb')
-rw-r--r--gcc/testsuite/gcc.dg/simulate-thread/simulate-thread.gdb17
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/simulate-thread/simulate-thread.gdb b/gcc/testsuite/gcc.dg/simulate-thread/simulate-thread.gdb
new file mode 100644
index 0000000..004909f
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/simulate-thread/simulate-thread.gdb
@@ -0,0 +1,17 @@
+set height 0
+break simulate_thread_main
+disp/i $pc
+run
+
+set $ret = 0
+while (simulate_thread_fini != 1) && (! $ret)
+ call simulate_thread_other_threads()
+ stepi
+ set $ret |= simulate_thread_step_verify()
+end
+
+if (! $ret)
+ set $ret |= simulate_thread_final_verify()
+end
+continue
+quit $ret