diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-01-14 18:17:20 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-01-14 18:17:20 +0000 |
commit | bc8332bb44886d189fce38b812d6919a157af734 (patch) | |
tree | a590a5efa15e042b71e7abe802d574fce2477069 /gdb/testsuite/gdb.mi/mi2-var-cmd.exp | |
parent | 4e18e2de1e848546c649ac74f8fbb8711c789243 (diff) | |
download | gdb-bc8332bb44886d189fce38b812d6919a157af734.zip gdb-bc8332bb44886d189fce38b812d6919a157af734.tar.gz gdb-bc8332bb44886d189fce38b812d6919a157af734.tar.bz2 |
Index: ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* varobj.c (varobj_create): Add missing \n.
Index: testsuite/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
* gdb.mi/mi2-var-cmd.exp: Ditto.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi2-var-cmd.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi2-var-cmd.exp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.mi/mi2-var-cmd.exp b/gdb/testsuite/gdb.mi/mi2-var-cmd.exp index bbecda8..5a8f50b 100644 --- a/gdb/testsuite/gdb.mi/mi2-var-cmd.exp +++ b/gdb/testsuite/gdb.mi/mi2-var-cmd.exp @@ -1,4 +1,5 @@ -# Copyright 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +# Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2004 Free Software +# Foundation, Inc. # # This Program Is Free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -148,7 +149,7 @@ mi_gdb_test "-var-create lsimple.integer * lsimple.integer" \ # Type names (like int, long, etc..) are all proper expressions to gdb. # make sure variable code does not allow users to create variables, though. mi_gdb_test "-var-create int * int" \ - "&\"Attempt to use a type name as an expression.mi_cmd_var_create: unable to create variable object\\\\n\".*\\^error,msg=\"mi_cmd_var_create: unable to create variable object\"" \ + "&\"Attempt to use a type name as an expression.\\\\n\".*&\"mi_cmd_var_create: unable to create variable object\\\\n\".*\\^error,msg=\"mi_cmd_var_create: unable to create variable object\"" \ "create int" |