binutils-gdb/gdb/testsuite/gdb.gdb
Yao Qi 16e69324ec Clean up gdb.gdb/selftest.exp
I recently see the test fails like this,

(gdb) PASS: gdb.gdb/selftest.exp: step over argv initialization
list^M
487       std::vector<struct cmdarg> cmdarg_vec;^M
(gdb) FAIL: gdb.gdb/selftest.exp: unknown source line (after step over argv initialization)

step^M
std::vector<cmdarg, std::allocator<cmdarg> >::vector (this=0x7fffffffdc10) at ../../binutils-gdb/gdb/main.c:487^M
487       std::vector<struct cmdarg> cmdarg_vec;^M
(gdb) FAIL: gdb.gdb/selftest.exp: step into xmalloc call

These fails are caused by using std::vector in commit
f60ee22ea1.  selttest.exp should match
the source code of GDB.  It is a maintenance pain, so this patch
removes do_steps_and_nexts.

gdb/testsuite:

2016-12-19  Yao Qi  <yao.qi@linaro.org>

	* gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
	(test_with_self): Don't call do_steps_and_nexts, and remove
	code about stepping into xmalloc.
2016-12-19 15:00:32 +00:00
..
complaints.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
observer.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
python-interrupts.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
python-selftest.exp GDB copyright headers update after running GDB's copyright.py script. 2016-01-01 08:43:22 +04:00
selftest.exp Clean up gdb.gdb/selftest.exp 2016-12-19 15:00:32 +00:00
unittest.exp Add self-test framework to gdb 2016-05-17 12:01:59 -06:00
xfullpath.exp Fix test names starting with uppercase using multi-line gdb_test/mi_gdb_test 2016-12-01 14:44:38 -06:00