diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2011-10-10 13:42:41 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2011-10-10 13:42:41 +0000 |
commit | ff8e7c4d682099d61e81a20b465280bcc7cdaab5 (patch) | |
tree | bba6939b464863b1cd47394507ef6db3d08fb471 /gcc/testsuite/gcc.dg/simulate-thread/simulate-thread.gdb | |
parent | 53fbb7241f0d2d4e3a4eb8b3225671b121091b06 (diff) | |
download | gcc-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.gdb | 17 |
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 |