From: Pedro Alves Date: Tue, 12 Feb 2013 16:36:07 +0000 (+0000) Subject: Tweak intro comments to some MI test files. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=17282693e9e8c93e2bdd1dd28c6745994046291e;p=binutils-gdb.git Tweak intro comments to some MI test files. A while ago I noticed there's some blind copy/pasting going on some test intro comments. This fixes some instances, in the MI testsuite. Tested on x86_64 Fedora 17. testsuite/ 2013-02-12 Pedro Alves * gdb.mi/mi-basics.exp: Tweak intro comment. * gdb.mi/mi-break.exp: Tweak intro comment. * gdb.mi/mi-console.exp: Tweak intro comment. * gdb.mi/mi-file.exp: Tweak intro comment. * gdb.mi/mi-read-memory.exp: Tweak intro comment. * gdb.mi/mi-return.exp: Tweak intro comment. * gdb.mi/mi-stepi.exp: Tweak intro comment. * gdb.mi/mi-until.exp: Tweak intro comment. * gdb.mi/mi-watch.exp: Tweak intro comment. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ae8043c930d..a55d95fef98 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,15 @@ +2013-02-12 Pedro Alves + + * gdb.mi/mi-basics.exp: Tweak intro comment. + * gdb.mi/mi-break.exp: Tweak intro comment. + * gdb.mi/mi-console.exp: Tweak intro comment. + * gdb.mi/mi-file.exp: Tweak intro comment. + * gdb.mi/mi-read-memory.exp: Tweak intro comment. + * gdb.mi/mi-return.exp: Tweak intro comment. + * gdb.mi/mi-stepi.exp: Tweak intro comment. + * gdb.mi/mi-until.exp: Tweak intro comment. + * gdb.mi/mi-watch.exp: Tweak intro comment. + 2013-02-12 Sanimir Agovic * gdb.server/no-thread-db.exp: New file. diff --git a/gdb/testsuite/gdb.mi/mi-basics.exp b/gdb/testsuite/gdb.mi/mi-basics.exp index e40b63a854c..8ec93880579 100644 --- a/gdb/testsuite/gdb.mi/mi-basics.exp +++ b/gdb/testsuite/gdb.mi/mi-basics.exp @@ -14,7 +14,7 @@ # along with this program. If not, see . # -# test basic Machine interface (MI) operations +# Test basic Machine interface (MI) operations # # Verify that, using the MI, we can load a program and do # other basic things that are used by all test files through mi_gdb_exit, diff --git a/gdb/testsuite/gdb.mi/mi-break.exp b/gdb/testsuite/gdb.mi/mi-break.exp index 41f9dc1abaa..9cf0126dc90 100644 --- a/gdb/testsuite/gdb.mi/mi-break.exp +++ b/gdb/testsuite/gdb.mi/mi-break.exp @@ -13,16 +13,12 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +# Test Machine interface (MI) operations # -# Test essential Machine interface (MI) operations -# -# Verify that, using the MI, we can run a simple program and perform basic -# debugging activities like: insert breakpoints, run the program, -# step, next, continue until it ends and, last but not least, quit. -# -# The goal is not to test gdb functionality, which is done by other tests, -# but to verify the correct output response to MI operations. +# Test MI breakpoint commands. # +# The goal is not to test gdb functionality, which is done by other +# tests, but to verify the correct output response to MI operations. load_lib mi-support.exp set MIFLAGS "-i=mi" diff --git a/gdb/testsuite/gdb.mi/mi-console.exp b/gdb/testsuite/gdb.mi/mi-console.exp index 16c3dbf031f..b7643e72d76 100644 --- a/gdb/testsuite/gdb.mi/mi-console.exp +++ b/gdb/testsuite/gdb.mi/mi-console.exp @@ -13,17 +13,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +# Test inferior console output, with MI. # -# Test essential Machine interface (MI) operations -# -# Verify that, using the MI, we can run a simple program and perform basic -# debugging activities like: insert breakpoints, run the program, -# step, next, continue until it ends and, last but not least, quit. -# -# The goal is not to test gdb functionality, which is done by other tests, -# but to verify the correct output response to MI operations. -# - # This test only works when talking to a target that routes its output # through GDB. Check that we're either talking to a simulator or a # remote target. diff --git a/gdb/testsuite/gdb.mi/mi-file.exp b/gdb/testsuite/gdb.mi/mi-file.exp index f5dca0fec9a..08e625f6b41 100644 --- a/gdb/testsuite/gdb.mi/mi-file.exp +++ b/gdb/testsuite/gdb.mi/mi-file.exp @@ -13,16 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# -# Test essential Machine interface (MI) operations -# -# Verify that, using the MI, we can run a simple program and perform basic -# debugging activities like: insert breakpoints, run the program, -# step, next, continue until it ends and, last but not least, quit. -# -# The goal is not to test gdb functionality, which is done by other tests, -# but to verify the correct output response to MI operations. -# +# Test -file-list-exec-source-files. load_lib mi-support.exp set MIFLAGS "-i=mi" diff --git a/gdb/testsuite/gdb.mi/mi-read-memory.exp b/gdb/testsuite/gdb.mi/mi-read-memory.exp index 08852b5a5a6..86cdfc76758 100644 --- a/gdb/testsuite/gdb.mi/mi-read-memory.exp +++ b/gdb/testsuite/gdb.mi/mi-read-memory.exp @@ -13,17 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# -# test basic Machine interface (MI) operations -# -# Verify that, using the MI, we can load a program and do -# other basic things that are used by all test files through mi_gdb_exit, -# mi_gdb_start, mi_delete_breakpoints, mi_gdb_reinitialize_dir and -# mi_gdb_load, so we can safely use those. -# -# The goal is not to test gdb functionality, which is done by other tests, -# but the command syntax and correct output response to MI operations. -# +# Test -data-read-memory. load_lib mi-support.exp set MIFLAGS "-i=mi" diff --git a/gdb/testsuite/gdb.mi/mi-return.exp b/gdb/testsuite/gdb.mi/mi-return.exp index be09c7f953b..3cfe1775ff1 100644 --- a/gdb/testsuite/gdb.mi/mi-return.exp +++ b/gdb/testsuite/gdb.mi/mi-return.exp @@ -13,14 +13,13 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# Test Machine interface (MI) operations +# Test Machine interface (MI) operations +# # Verify that, using the MI, we can run a simple program and perform -# exec-return. - -# The goal is not to -# test gdb functionality, which is done by other tests, but to verify -# the correct output response to MI operations. +# exec-return. # +# The goal is not to test gdb functionality, which is done by other +# tests, but to verify the correct output response to MI operations. load_lib mi-support.exp set MIFLAGS "-i=mi" diff --git a/gdb/testsuite/gdb.mi/mi-stepi.exp b/gdb/testsuite/gdb.mi/mi-stepi.exp index a890f4a0454..ebe76c77548 100644 --- a/gdb/testsuite/gdb.mi/mi-stepi.exp +++ b/gdb/testsuite/gdb.mi/mi-stepi.exp @@ -13,14 +13,12 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# Test Machine interface (MI) operations -# Verify that, using the MI, we can run a simple program and perform -# exec-step-instruction and exec-next-instruction. - -# The goal is not to -# test gdb functionality, which is done by other tests, but to verify -# the correct output response to MI operations. +# Test Machine interface (MI) operations +# +# Test MI's stepi and nexti equivalent commands. # +# The goal is not to test gdb functionality, which is done by other +# tests, but to verify the correct output response to MI operations. load_lib mi-support.exp set MIFLAGS "-i=mi" diff --git a/gdb/testsuite/gdb.mi/mi-until.exp b/gdb/testsuite/gdb.mi/mi-until.exp index 2e075df9a28..fce7b370f08 100644 --- a/gdb/testsuite/gdb.mi/mi-until.exp +++ b/gdb/testsuite/gdb.mi/mi-until.exp @@ -13,14 +13,13 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# Test Machine interface (MI) operations +# Test Machine interface (MI) operations +# # Verify that, using the MI, we can run a simple program and perform -# exec-until. - -# The goal is not to -# test gdb functionality, which is done by other tests, but to verify -# the correct output response to MI operations. +# exec-until. # +# The goal is not to test gdb functionality, which is done by other +# tests, but to verify the correct output response to MI operations. load_lib mi-support.exp set MIFLAGS "-i=mi" diff --git a/gdb/testsuite/gdb.mi/mi-watch.exp b/gdb/testsuite/gdb.mi/mi-watch.exp index 1b9ae44f867..858a8c1c6ef 100644 --- a/gdb/testsuite/gdb.mi/mi-watch.exp +++ b/gdb/testsuite/gdb.mi/mi-watch.exp @@ -13,16 +13,12 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +# Test Machine interface (MI) operations # -# Test essential Machine interface (MI) operations -# -# Verify that, using the MI, we can run a simple program and perform basic -# debugging activities like: insert breakpoints, run the program, -# step, next, continue until it ends and, last but not least, quit. -# -# The goal is not to test gdb functionality, which is done by other tests, -# but to verify the correct output response to MI operations. +# Test MI watchpoint commands. # +# The goal is not to test gdb functionality, which is done by other +# tests, but to verify the correct output response to MI operations. load_lib mi-support.exp set MIFLAGS "-i=mi"