gdb.base/bp-permanent.exp: Tighten regex
authorPedro Alves <palves@redhat.com>
Thu, 5 Mar 2015 23:39:46 +0000 (23:39 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 5 Mar 2015 23:40:39 +0000 (23:40 +0000)
commit9494d2199f5ce0cf2a4cf5628f23ae91d933955d
tree2552ea107f836b6689961946ac9055c662eed3e3
parent68901c4d439ebceecab927932c17ea1504747c02
gdb.base/bp-permanent.exp: Tighten regex

Trying to fix a permanent breakpoints bug, I broke "next" over a
regular breakpoint.  "next" would immediately hit the breakpoint the
program was already stopped at.  But, the "next over setup" test
failed to notice this and still issued a pass.  That's because the
regex matches "testsuite" in:

  Breakpoint 2 at 0x400687: file src/gdb/testsuite/gdb.base/bp-permanent.c, line 46.

gdb/testsuite/ChangeLog:
2015-03-05  Pedro Alves  <palves@redhat.com>

* gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/bp-permanent.exp