Add "info connections" command, "info inferiors" connection number/string
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.trace / report.exp
index 4b50e12be0b0bf68fd02e74ce45201c4912e3686..93029757b777a7a0aa94f63feca6fbf7b69cc002 100644 (file)
@@ -1,4 +1,4 @@
-#   Copyright 1998-2018 Free Software Foundation, Inc.
+#   Copyright 1998-2020 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
@@ -27,7 +27,7 @@ if ![gdb_trace_common_supports_arch] {
     return -1
 }
 if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
-         executable {debug nowarnings}] != "" } {
+         executable {debug nowarnings nopie}] != "" } {
     untested "failed to compile"
     return -1
 }
@@ -391,7 +391,7 @@ proc use_collected_data { data_source } {
        # There is always a thread of an inferior, either a live one or
        # a faked one.
        gdb_test "info threads" "\\* ${decimal}    (process|Thread) \[0-9\.\]+\[ \t\].*"
-       gdb_test "info inferiors" "\\* 1    process ${decimal} \[ \t\]+${binfile}.*"
+       gdb_test "info inferiors" "\\* 1    process ${decimal} \[ \t\]+\[^\r\n\]*\[ \t\]+${binfile}.*"
     }
 }
 
This page took 0.027919 seconds and 4 git commands to generate.