This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
simulate-thread changes to avoid infinite loops
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Cc: Mike Stump <mikestump at comcast dot net>, Jeff Law <law at redhat dot com>, Andrew MacLeod <amacleod at redhat dot com>
- Date: Mon, 10 Oct 2011 10:54:28 -0500
- Subject: simulate-thread changes to avoid infinite loops
Hi folks.
This was a change Andrew had made to the simulate-thread framework to
avoid infinite loops in hostile threads. I forgot to merge this in my
original submission, and am doing so now.
The original patch is here:
http://permalink.gmane.org/gmane.comp.gcc.patches/247678
My patch is a mere sed run on Andrew's patch, plus a few fixed typos in
the comments. I also kept the original simulate_thread_fini name as
opposed to the __gdb_memmodel_fini name Andrew has (to keep names
homogeneous throughout).
Tested on x86-64 Linux by running "make check
RUNTESTFLAGS=simulate-thread.exp" on the build tree I already had for
the original submission.
OK for trunk?
Attachment:
curr
Description: Text document