aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/foll-exec.c
diff options
context:
space:
mode:
authorAndreas Arnez <arnez@linux.vnet.ibm.com>2014-10-24 11:04:56 +0000
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2014-11-13 10:20:38 +0100
commit58fa2af0b3d87dbc2aaf640ef31af301e5f3c9b6 (patch)
tree7c87f9d39281eb6ead281a9e8dfeb9da29311eaf /gdb/testsuite/gdb.base/foll-exec.c
parent04e5059ba62bf70b1b73f525d306e05fad66131a (diff)
downloadgdb-58fa2af0b3d87dbc2aaf640ef31af301e5f3c9b6.zip
gdb-58fa2af0b3d87dbc2aaf640ef31af301e5f3c9b6.tar.gz
gdb-58fa2af0b3d87dbc2aaf640ef31af301e5f3c9b6.tar.bz2
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.
Diffstat (limited to 'gdb/testsuite/gdb.base/foll-exec.c')
-rw-r--r--gdb/testsuite/gdb.base/foll-exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/foll-exec.c b/gdb/testsuite/gdb.base/foll-exec.c
index 78c1cda..5b0d9c5 100644
--- a/gdb/testsuite/gdb.base/foll-exec.c
+++ b/gdb/testsuite/gdb.base/foll-exec.c
@@ -24,7 +24,7 @@ main ()
printf ("foll-exec is about to execl(execd-prog)...\n");
- execl (BASEDIR "/execd-prog",
+ execl (BASEDIR "/execd-prog", /* tbreak-execl */
BASEDIR "/execd-prog",
"execl arg1 from foll-exec",
"execl arg2 from foll-exec",
@@ -38,6 +38,6 @@ main ()
printf ("foll-exec is about to execv(execd-prog)...\n");
- execv (BASEDIR "/execd-prog", argv);
+ execv (BASEDIR "/execd-prog", argv); /* tbreak-execv */
}
}