diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-11-22 15:24:07 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-11-22 15:24:07 +0000 |
commit | 32a13b1aece8fc98a122ae52d1801d96781d66ac (patch) | |
tree | 3f65887c08e1ffc4d53061b05b02463b90e4680b | |
parent | 771b4502d5e67d90e46529beb9e73ec37151828d (diff) | |
download | gdb-32a13b1aece8fc98a122ae52d1801d96781d66ac.zip gdb-32a13b1aece8fc98a122ae52d1801d96781d66ac.tar.gz gdb-32a13b1aece8fc98a122ae52d1801d96781d66ac.tar.bz2 |
* gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.stabs/weird.exp | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 8e3dd05..4cf0816 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2006-11-22 Daniel Jacobowitz <dan@codesourcery.com> + + * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n. + 2006-11-10 Vladimir Prus <vladimir@codesourcery.com> * gdb.base/completion.exp: Fix completion tests for diff --git a/gdb/testsuite/gdb.stabs/weird.exp b/gdb/testsuite/gdb.stabs/weird.exp index cb7c40e..7282231 100644 --- a/gdb/testsuite/gdb.stabs/weird.exp +++ b/gdb/testsuite/gdb.stabs/weird.exp @@ -1,4 +1,4 @@ -# Copyright 1997, 1998, 1999, 2001, 2003, 2004 +# Copyright 1997, 1998, 1999, 2001, 2003, 2004, 2006 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -228,7 +228,7 @@ proc print_weird_var { var } { # Make sure that the variable gets printed out correctly, without # any sort of warning message. - gdb_test_multiple "print $var\n" "variable $var printed property" { + gdb_test_multiple "print $var" "variable $var printed property" { -re "^print $var\r*\n.\[0-9\]* = 42.*$gdb_prompt $" { pass "variable $var printed properly" } |