mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-17 16:18:37 +08:00
[gdb/testsuite] Fix regexp in gdb.threads/stepi-over-clone.exp
On fedora rawhide, I ran into: ... (gdb) continue^M Continuing.^M ^M Catchpoint 2 (call to syscall clone3), 0x000000000042097d in __clone3 ()^M (gdb) FAIL: gdb.threads/stepi-over-clone.exp: continue ... Fix this by updating a regexp to also recognize __clone3. Tested on x86_64-linux. Tested-By: Guinevere Larsen <blarsen@redhat.com>
This commit is contained in:
@@ -48,7 +48,7 @@ gdb_test_multiple "catch syscall group:process" "catch process syscalls" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
set re_loc1 "$hex in clone\[23\]? \\(\\)"
|
set re_loc1 "$hex in (__)?clone\[23\]? \\(\\)"
|
||||||
set re_loc2 "$decimal\[ \t\]+in \[^\r\n\]+"
|
set re_loc2 "$decimal\[ \t\]+in \[^\r\n\]+"
|
||||||
set re_loc3 "clone\[23\]? \\(\\) at \[^:\]+:$decimal"
|
set re_loc3 "clone\[23\]? \\(\\) at \[^:\]+:$decimal"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user