Implement pahole-like 'ptype /o' option
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / async-shell.exp
index f0550bc5acd3d8cc2ff7efc6dbb90506b045fe5d..73032ccb9ad98107d66cec37dba557d967478366 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2011-2014 Free Software Foundation, Inc.
+# Copyright (C) 2011-2017 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -25,7 +25,7 @@ if [target_info exists use_gdb_stub] {
     return 0
 }
 
-if { [prepare_for_testing ${testfile}.exp ${testfile} $srcfile] } {
+if { [prepare_for_testing "failed to prepare" ${testfile} $srcfile] } {
     return -1
 }
 
@@ -48,7 +48,7 @@ gdb_test_multiple $test $test {
 
 set test "process stopped"
 gdb_test_multiple "" $test {
-    -re "\r\n\\\[process \[0-9\]+\\\] #1 stopped\\\.\r\n" {
+    -re "Program stopped\\\.\r\n" {
        pass $test
     }
 }
This page took 0.024111 seconds and 4 git commands to generate.