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.
2013-03-28 Pedro Alves <palves@redhat.com>
+ * gdb.base/list.exp (test_listsize): Adjust test to make sure we
+ list the whole file.
+
+2013-03-28 Pedro Alves <palves@redhat.com>
+
* gdb.base/list.exp (set_listsize): Use gdb_test_no_output for
"set listsize".
set_listsize -1
setup_xfail "*-*-*"
- gdb_test "list 1" "1\[ \t\]+#include .*\r\n39\[ \t\]+\}" "list line 1 with unlimited listsize"
+ gdb_test "list 1" "1\[ \t\]+#include .*\r\n43\[ \t\]+\}" "list line 1 with unlimited listsize"
}
#