mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 11:39:26 +08:00
gdb, testsuite, btrace: relax unneeded stepi expected output
In gdb.btrace/reconnect.exp, we test that we can disconnect and reconnect again to a GDB session that is recording with the btrace recording format. It does not really matter what we are recording. The test assumed that stepping from _start will bring us into an area without debug information. This is not correct on all systems. Relax the expected output to also support systems where we do have debug information for that code.
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
2021-04-12 Markus Metzger <markus.t.metzger@intel.com>
|
||||
|
||||
* gdb.btrace/reconnect.exp: Relax expected stepi output.
|
||||
|
||||
2021-04-07 Weimin Pan <weimin.pan@oracle.com>
|
||||
|
||||
* gdb.base/ctf-ptype.c: Add struct link containing a forward
|
||||
|
@ -51,7 +51,7 @@ gdb_target_cmd $gdbserver_protocol $gdbserver_gdbport
|
||||
# Create a record, check, reconnect
|
||||
with_test_prefix "first" {
|
||||
gdb_test_no_output "record btrace" "record btrace enable"
|
||||
gdb_test "stepi 19" "($hex in .* from .*|$hex\t$decimal.*)"
|
||||
gdb_test "stepi 19" ".*"
|
||||
|
||||
gdb_test "info record" [multi_line \
|
||||
"Active record target: .*" \
|
||||
|
Reference in New Issue
Block a user