This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog testsuite/gdb.mi/mi-var-cp.c ...
- From: vprus at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 4 Jan 2007 20:12:15 -0000
- Subject: src/gdb ChangeLog testsuite/gdb.mi/mi-var-cp.c ...
CVSROOT: /cvs/src
Module name: src
Changes by: vprus@sourceware.org 2007-01-04 20:12:15
Modified files:
gdb : ChangeLog
gdb/testsuite/gdb.mi: mi-var-cp.cc mi-var-cp.exp
gdb/testsuite/lib: mi-support.exp
Log message:
Implement specification of MI tests as comments
in C and C++ sources.
* lib/mi-support.exp (mi_autotest_data): New variable.
(mi_autotest_source): New variable.
(count_newlines, mi_prepare_inline_tests)
(mi_get_inline_test, mi_continue_to_line)
(mi_run_inline_test, mi_tbreak)
(mi_send_resuming_command, mi_wait_for_stop): New functions.
* gdb.mi/mi-var-cp.exp: Move most content to the C file.
Run inline tests.
* gdb.mi/mi-var-cp.cc: Define tests here.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.8068&r2=1.8069
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.mi/mi-var-cp.cc.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.mi/mi-var-cp.exp.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/lib/mi-support.exp.diff?cvsroot=src&r1=1.36&r2=1.37