diff options
author | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2014-10-24 11:04:56 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2014-11-13 10:20:38 +0100 |
commit | 58fa2af0b3d87dbc2aaf640ef31af301e5f3c9b6 (patch) | |
tree | 7c87f9d39281eb6ead281a9e8dfeb9da29311eaf /gdb/testsuite/gdb.base/execd-prog.c | |
parent | 04e5059ba62bf70b1b73f525d306e05fad66131a (diff) | |
download | gdb-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/execd-prog.c')
-rw-r--r-- | gdb/testsuite/gdb.base/execd-prog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/execd-prog.c b/gdb/testsuite/gdb.base/execd-prog.c index 5469f65..5435f7d 100644 --- a/gdb/testsuite/gdb.base/execd-prog.c +++ b/gdb/testsuite/gdb.base/execd-prog.c @@ -20,7 +20,7 @@ main (argc, argv) should not be able to see that other definition of local_j after we are exec'd. */ - int local_j = argc; + int local_j = argc; /* after-exec */ char * s; printf ("Hello from execd-prog...\n"); |