X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gdb%2Ftestsuite%2Fgdb.btrace%2Finstruction_history.exp;h=0348f704122e4d2d6d21ccc0bf30bec038d5b4bc;hb=da8c46d2967b6325dcd2cc72eca26d807964c93c;hp=ba06647f9ab0a16160f29f20c4917da60ebec4ba;hpb=5599c404621b2d8ac021c1427aee6e8974572042;p=binutils-gdb.git diff --git a/gdb/testsuite/gdb.btrace/instruction_history.exp b/gdb/testsuite/gdb.btrace/instruction_history.exp index ba06647f9ab..0348f704122 100644 --- a/gdb/testsuite/gdb.btrace/instruction_history.exp +++ b/gdb/testsuite/gdb.btrace/instruction_history.exp @@ -82,19 +82,19 @@ gdb_test "record instruction-history /f 3,+5" [multi_line \ ] gdb_test "record instruction-history /p 7,-5" [multi_line \ - "3\t0x\[0-9a-f\]+ :\tje 0x\[0-9a-f\]+ " \ - "4\t0x\[0-9a-f\]+ :\tdec %eax" \ - "5\t0x\[0-9a-f\]+ :\tjmp 0x\[0-9a-f\]+ " \ - "6\t0x\[0-9a-f\]+ :\tcmp \\\$0x0,%eax" \ - "7\t0x\[0-9a-f\]+ :\tje 0x\[0-9a-f\]+ \r" \ + "3\t 0x\[0-9a-f\]+ :\tje 0x\[0-9a-f\]+ " \ + "4\t 0x\[0-9a-f\]+ :\tdec %eax" \ + "5\t 0x\[0-9a-f\]+ :\tjmp 0x\[0-9a-f\]+ " \ + "6\t 0x\[0-9a-f\]+ :\tcmp \\\$0x0,%eax" \ + "7\t 0x\[0-9a-f\]+ :\tje 0x\[0-9a-f\]+ \r" \ ] gdb_test "record instruction-history /pf 3,7" [multi_line \ - "3\t0x\[0-9a-f\]+ <\\+\[0-9\]+>:\tje 0x\[0-9a-f\]+ " \ - "4\t0x\[0-9a-f\]+ <\\+\[0-9\]+>:\tdec %eax" \ - "5\t0x\[0-9a-f\]+ <\\+\[0-9\]+>:\tjmp 0x\[0-9a-f\]+ " \ - "6\t0x\[0-9a-f\]+ <\\+\[0-9\]+>:\tcmp \\\$0x0,%eax" \ - "7\t0x\[0-9a-f\]+ <\\+\[0-9\]+>:\tje 0x\[0-9a-f\]+ \r" \ + "3\t 0x\[0-9a-f\]+ <\\+\[0-9\]+>:\tje 0x\[0-9a-f\]+ " \ + "4\t 0x\[0-9a-f\]+ <\\+\[0-9\]+>:\tdec %eax" \ + "5\t 0x\[0-9a-f\]+ <\\+\[0-9\]+>:\tjmp 0x\[0-9a-f\]+ " \ + "6\t 0x\[0-9a-f\]+ <\\+\[0-9\]+>:\tcmp \\\$0x0,%eax" \ + "7\t 0x\[0-9a-f\]+ <\\+\[0-9\]+>:\tje 0x\[0-9a-f\]+ \r" \ ] gdb_test "record instruction-history 3,3" "3\t 0x\[0-9a-f\]+ :\tje 0x\[0-9a-f\]+ \r"