gdb.base/async.exp: Don't hardcode line numbers.
authorPedro Alves <palves@redhat.com>
Wed, 19 Mar 2014 15:22:44 +0000 (15:22 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 19 Mar 2014 15:48:47 +0000 (15:48 +0000)
commite2f6c966284e2f204779e9c7becf260bd4fe5117
tree2f4da0de2c2fc6bdb2a7803fe0492bab01b73dbc
parentc30568d4d17d1a1efa62d2f36651fd0228b0b8e5
gdb.base/async.exp: Don't hardcode line numbers.

gdb/testsuite/
2014-03-19  Pedro Alves  <palves@redhat.com>

* gdb.base/async.c (main): Add "jump here" and "until here" line
marker comments.
* gdb.base/async.exp (jump_here): New global.
(jump& test): Use it.
(until_here): New global.
(until& test): Use it.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/async.c
gdb/testsuite/gdb.base/async.exp