From: Daniel Jacobowitz Date: Wed, 22 Nov 2006 15:24:07 +0000 (+0000) Subject: * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=32a13b1aece8fc98a122ae52d1801d96781d66ac;p=binutils-gdb.git * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 8e3dd057c5b..4cf0816cd0e 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2006-11-22 Daniel Jacobowitz + + * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n. + 2006-11-10 Vladimir Prus * 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 cb7c40e0674..7282231708c 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" }