diff options
author | Pedro Alves <palves@redhat.com> | 2013-03-28 11:56:51 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-03-28 11:56:51 +0000 |
commit | fc0da894a13ac920fbf19632e9079a61795111d8 (patch) | |
tree | 1ed8f5c0cd94b7e95312005b4116a7caa1932e1c /depcomp | |
parent | abe7b7116cbf29f11917e74dbf0cda084d8a4169 (diff) | |
download | gdb-fc0da894a13ac920fbf19632e9079a61795111d8.zip gdb-fc0da894a13ac920fbf19632e9079a61795111d8.tar.gz gdb-fc0da894a13ac920fbf19632e9079a61795111d8.tar.bz2 |
list.exp: Avoid hardcoding line numbers.
The previous patch actually wasn't the first time I had to update line
numbers in this file.
This avoids hard coding line numbers, hopefully making the next time a
little easier.
Tested on x86_64 Fedora 17.
gdb/testsuite/
2013-03-28 Pedro Alves <palves@redhat.com>
* gdb.base/list.exp (last_line): New global.
(last_line_re): New global.
(test_listsize, test_list_function, test_list_forward)
(test_repeat_list_command, test_list_range)
(test_list_filename_and_function): Use them.
* gdb.base/list0.c: Comment the last line of the file with "last
line".
Diffstat (limited to 'depcomp')
0 files changed, 0 insertions, 0 deletions