From 17282693e9e8c93e2bdd1dd28c6745994046291e Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Tue, 12 Feb 2013 16:36:07 +0000 Subject: 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. --- gdb/testsuite/ChangeLog | 12 ++++++++++++ gdb/testsuite/gdb.mi/mi-basics.exp | 2 +- gdb/testsuite/gdb.mi/mi-break.exp | 12 ++++-------- gdb/testsuite/gdb.mi/mi-console.exp | 11 +---------- gdb/testsuite/gdb.mi/mi-file.exp | 11 +---------- gdb/testsuite/gdb.mi/mi-read-memory.exp | 12 +----------- gdb/testsuite/gdb.mi/mi-return.exp | 11 +++++------ gdb/testsuite/gdb.mi/mi-stepi.exp | 12 +++++------- gdb/testsuite/gdb.mi/mi-until.exp | 11 +++++------ gdb/testsuite/gdb.mi/mi-watch.exp | 12 ++++-------- 10 files changed, 39 insertions(+), 67 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index ae8043c..a55d95f 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 e40b63a..8ec9388 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 41f9dc1..9cf0126 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 16c3dbf..b7643e7 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 f5dca0f..08e625f 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 08852b5..86cdfc7 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 be09c7f..3cfe177 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 a890f4a0..ebe76c7 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 2e075df..fce7b37 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 1b9ae44..858a8c1 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" -- cgit v1.1