From: Markus Metzger Date: Thu, 16 Jan 2014 08:47:51 +0000 (+0100) Subject: test, btrace: update expected text X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6d78d93b8d3854dcab6c90307b19f43e1a93f592;p=binutils-gdb.git test, btrace: update expected text The error message for starting recording twice changed. Update the expected text to fix resulting regressions. 2014-01-16 Markus Metzger * gdb.btrace/enable.exp: Update expected text. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 4d2fe91b6f4..d87461a234d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-01-16 Markus Metzger + + * gdb.btrace/enable.exp: Update expected text. + 2014-01-16 Omair Javaid * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4 diff --git a/gdb/testsuite/gdb.btrace/enable.exp b/gdb/testsuite/gdb.btrace/enable.exp index 5fff2ff1d47..78c7e538fb0 100644 --- a/gdb/testsuite/gdb.btrace/enable.exp +++ b/gdb/testsuite/gdb.btrace/enable.exp @@ -50,10 +50,10 @@ gdb_test "record function-call-history" "No trace\\." "record function-call-hist gdb_test "record instruction-history" "No trace\\." "record instruction-history without trace" # btrace cannot be enabled twice -gdb_test "record btrace" "The process is already being recorded\\." "record btrace the second time" +gdb_test "record btrace" "The process is already being recorded\\. Use \"record stop\" to stop recording first\\." "record btrace the second time" # full record cannot be activated as long as btrace is active -gdb_test "record full" "Process record target already running\\. Use \"record stop\" to stop record target first\\." "record full cannot be enabled" +gdb_test "record full" "The process is already being recorded\\. Use \"record stop\" to stop recording first\\." "record full cannot be enabled" # no trace recorded yet gdb_test "info record" "Active record target: record-btrace\r\nRecorded 0 instructions in 0 functions for thread 1.*\\." "info record without trace" @@ -64,7 +64,7 @@ gdb_test "record stop" "No record target is currently active\\..*" "record stop # enable btrace again gdb_test_no_output "record btrace" "record btrace re-enable" -gdb_test "record btrace" "The process is already being recorded\\." "record btrace re-enable twice" +gdb_test "record btrace" "The process is already being recorded\\. Use \"record stop\" to stop recording first\\." "record btrace re-enable twice" # continue to the end and make sure we don't die gdb_test "continue" ".*Inferior.*exited.*" "continue to end"