aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.stabs
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-11-22 15:24:07 +0000
committerDaniel Jacobowitz <drow@false.org>2006-11-22 15:24:07 +0000
commit32a13b1aece8fc98a122ae52d1801d96781d66ac (patch)
tree3f65887c08e1ffc4d53061b05b02463b90e4680b /gdb/testsuite/gdb.stabs
parent771b4502d5e67d90e46529beb9e73ec37151828d (diff)
downloadgdb-32a13b1aece8fc98a122ae52d1801d96781d66ac.zip
gdb-32a13b1aece8fc98a122ae52d1801d96781d66ac.tar.gz
gdb-32a13b1aece8fc98a122ae52d1801d96781d66ac.tar.bz2
* gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
Diffstat (limited to 'gdb/testsuite/gdb.stabs')
-rw-r--r--gdb/testsuite/gdb.stabs/weird.exp4
1 files changed, 2 insertions, 2 deletions
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"
}