aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/solib1.c
diff options
context:
space:
mode:
authorAndreas Arnez <arnez@linux.vnet.ibm.com>2014-10-23 13:56:52 +0000
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2014-11-13 10:14:29 +0100
commit9ecfcd1d02e8e92457e7a81d060b8d0d46bb68bd (patch)
tree01363b456d0ea12cb1ff73f7eaa032dca862806f /gdb/testsuite/gdb.base/solib1.c
parentf41e4712a7b7ac60f181e7dfc984ca35c222f0d7 (diff)
downloadgdb-9ecfcd1d02e8e92457e7a81d060b8d0d46bb68bd.zip
gdb-9ecfcd1d02e8e92457e7a81d060b8d0d46bb68bd.tar.gz
gdb-9ecfcd1d02e8e92457e7a81d060b8d0d46bb68bd.tar.bz2
Eliminate literal line numbers in so-impl-ld.exp
Remove literal line numbers from the regexps in so-impl-ld.exp. Add appropriate eye-catchers to solib1.c and refer to those instead. gdb/testsuite/ChangeLog: * gdb.base/solib1.c: Add eye-catchers. * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of literal line numbers.
Diffstat (limited to 'gdb/testsuite/gdb.base/solib1.c')
-rw-r--r--gdb/testsuite/gdb.base/solib1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/solib1.c b/gdb/testsuite/gdb.base/solib1.c
index 2e51750..224a93d 100644
--- a/gdb/testsuite/gdb.base/solib1.c
+++ b/gdb/testsuite/gdb.base/solib1.c
@@ -14,5 +14,5 @@ int solib_main (arg)
#endif
#endif
{
- return arg*arg;
-}
+ return arg*arg; /* HERE */
+} /* STEP */