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 <markus.t.metzger@intel.com> * gdb.btrace/enable.exp: Update expected text.
This commit is contained in:
parent
93a360cc5d
commit
6d78d93b8d
|
@ -1,3 +1,7 @@
|
|||
2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
|
||||
|
||||
* gdb.btrace/enable.exp: Update expected text.
|
||||
|
||||
2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
|
||||
|
||||
* gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue