X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ftestsuite%2Fgdb.trace%2Freport.exp;h=93029757b777a7a0aa94f63feca6fbf7b69cc002;hb=121b3efd49f98e4049281b3ba7a258e650e40b38;hp=4b50e12be0b0bf68fd02e74ce45201c4912e3686;hpb=8bca297856b2e54ac093674554f6abd82e7ce6b0;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/gdb.trace/report.exp b/gdb/testsuite/gdb.trace/report.exp index 4b50e12be0..93029757b7 100644 --- a/gdb/testsuite/gdb.trace/report.exp +++ b/gdb/testsuite/gdb.trace/report.exp @@ -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}.*" } }