diff options
author | Pedro Alves <palves@redhat.com> | 2013-02-12 16:36:07 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2013-02-12 16:36:07 +0000 |
commit | 17282693e9e8c93e2bdd1dd28c6745994046291e (patch) | |
tree | c7a3f25119eb6ad1207a60b53e68fcccb9b6763d /gdb | |
parent | 43aaf8b6d65482181952f37192a795418457df26 (diff) | |
download | binutils-gdb-17282693e9e8c93e2bdd1dd28c6745994046291e.tar.gz |
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 <palves@redhat.com>
* 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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 12 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-basics.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-break.exp | 12 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-console.exp | 11 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-file.exp | 11 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-read-memory.exp | 12 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-return.exp | 11 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-stepi.exp | 12 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-until.exp | 11 | ||||
-rw-r--r-- | 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 ae8043c930d..a55d95fef98 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,15 @@ +2013-02-12 Pedro Alves <palves@redhat.com> + + * 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 <sanimir.agovic@intel.com> * 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 <http://www.gnu.org/licenses/>. # -# 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 <http://www.gnu.org/licenses/>. +# 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 <http://www.gnu.org/licenses/>. +# 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 <http://www.gnu.org/licenses/>. -# -# 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 <http://www.gnu.org/licenses/>. -# -# 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 <http://www.gnu.org/licenses/>. -# 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 <http://www.gnu.org/licenses/>. -# 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 <http://www.gnu.org/licenses/>. -# 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 <http://www.gnu.org/licenses/>. +# 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" |