This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]