Fix set up of queue-signal.exp test.
authorDoug Evans <xdje42@gmail.com>
Sun, 14 Sep 2014 17:48:38 +0000 (10:48 -0700)
committerDoug Evans <xdje42@gmail.com>
Sun, 14 Sep 2014 17:48:38 +0000 (10:48 -0700)
commit57cbd724c3212b40a328b1d21403bb0d96736687
treeef5ca4a81cd2e0dec24f7e43f7682dcd9ee5eae9
parent81219e5358e6238d3810136690a0c0b2cd20955e
Fix set up of queue-signal.exp test.

The test does a backtrace to see which thread (#2 or #3) is assigned
to which SIGUSR (1 or 2).  If the main thread gets to all_threads_running
before the sigusr threads get to their entry point, then the function
name isn't in the backtrace and the test fails.

Alas this version of the code is within epsilon of what I started with,
and then over-simplified things.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/queue-signal.c