* gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.

This commit is contained in:
Daniel Jacobowitz 2006-11-22 15:24:07 +00:00
parent 771b4502d5
commit 32a13b1aec
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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"
}