Eliminate literal line numbers in foll-exec.exp
authorAndreas Arnez <arnez@linux.vnet.ibm.com>
Fri, 24 Oct 2014 11:04:56 +0000 (11:04 +0000)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Thu, 13 Nov 2014 09:20:38 +0000 (10:20 +0100)
commit58fa2af0b3d87dbc2aaf640ef31af301e5f3c9b6
tree7c87f9d39281eb6ead281a9e8dfeb9da29311eaf
parent04e5059ba62bf70b1b73f525d306e05fad66131a
Eliminate literal line numbers in foll-exec.exp

Remove literal line numbers from the regexps in foll-exec.exp.  Add
appropriate eye-catchers to foll-exec.c and execd-proc.c and refer to
those instead.

gdb/testsuite/ChangeLog:

* gdb.base/execd-prog.c: Add eye-catchers.
* gdb.base/foll-exec.c: Likewise.
* gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
line numbers.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/execd-prog.c
gdb/testsuite/gdb.base/foll-exec.c
gdb/testsuite/gdb.base/foll-exec.exp