list.exp: Adjust "set listsize -1" to current test source's real line count.
authorPedro Alves <palves@redhat.com>
Thu, 28 Mar 2013 11:56:15 +0000 (11:56 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 28 Mar 2013 11:56:15 +0000 (11:56 +0000)
commitabe7b7116cbf29f11917e74dbf0cda084d8a4169
treea438ac95a624e09040b9afedb5b4dc9aefbb7656
parent15b3979c24c74b98c707e39b1b431327ce6225f5
list.exp: Adjust "set listsize -1" to current test source's real line count.

The "set listsize -1" test in list.exp can't work correct anymore
nowadays, because the test's source files grew over time, and this
particular test was never updated.

This fixes it in the obvious way.

gdb/testsuite/
2013-03-28  Pedro Alves  <palves@redhat.com>

* gdb.base/list.exp (test_listsize): Adjust test to make sure we
list the whole file.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/list.exp