gdb.trace/change-loc.exp: Don't depend on tracepoint ordering.
authorMarcin Kościelnicki <koriakin@0x04.net>
Sat, 5 Mar 2016 17:55:40 +0000 (18:55 +0100)
committerMarcin Kościelnicki <koriakin@0x04.net>
Wed, 9 Mar 2016 17:45:19 +0000 (18:45 +0100)
commitba84e0da35d29dd8969a4bcdd84e3eaa48927a84
tree0f6cb308457a60c4426f8fc8a3b81f1aecf424dd
parent4366d36e467bf81274edccbea026a91188cc67e3
gdb.trace/change-loc.exp: Don't depend on tracepoint ordering.

powerpc (32-bit) loads shared libraries below the main executable, so
the PENDING location is the first one, which the current regex doesn't
match.  Split it into two tests instead, one looking for the pending
tracepoint location, and the other for two installed locations.

gdb/testsuite/ChangeLog:

* gdb.trace/change-loc.exp: Don't depend on tracepoint location
ordering.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.trace/change-loc.exp