diff options
author | Andreas Arnez <arnez@linux.vnet.ibm.com> | 2014-10-24 09:15:10 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2014-11-13 10:14:30 +0100 |
commit | dbfdb174e3984a6f6965d594b712c212e09afcaf (patch) | |
tree | 934093b4f014895839b3b49d9383474192e874e2 /gdb/testsuite/gdb.base/call-rt-st.c | |
parent | 888a2adec7736f2f507295fd2fd5feac732f4a7a (diff) | |
download | binutils-gdb-dbfdb174e3984a6f6965d594b712c212e09afcaf.tar.gz |
Eliminate literal line numbers in call-rt-st.exp
Remove literal line numbers from the regexps in call-rt-st.exp. Add
appropriate eye-catchers to call-rt-st.c and refer to those instead.
gdb/testsuite/ChangeLog:
* gdb.base/call-rt-st.c: Add eye-catchers.
* gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
literal line numbers.
Diffstat (limited to 'gdb/testsuite/gdb.base/call-rt-st.c')
-rw-r--r-- | gdb/testsuite/gdb.base/call-rt-st.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/call-rt-st.c b/gdb/testsuite/gdb.base/call-rt-st.c index 09dd5bb52a9..a583babf161 100644 --- a/gdb/testsuite/gdb.base/call-rt-st.c +++ b/gdb/testsuite/gdb.base/call-rt-st.c @@ -125,7 +125,7 @@ void loop_count () { int index; - for (index=0; index<4; index++); + for (index=0; index<4; index++); /* -break1- */ } /***************************************************************** @@ -772,9 +772,9 @@ int main () { print_int_char_combo(*int_char_combo); print_struct_rep(*struct1); - loop_count(); + loop_count(); /* -finish2- */ - return 0; + return 0; /* -finish1- */ } |