* gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
This commit is contained in:
parent
771b4502d5
commit
32a13b1aec
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue