diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-10-16 08:42:04 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-10-16 08:42:04 +0000 |
commit | 20ec36d94265dd0a49c3da36a095a92668c55327 (patch) | |
tree | be449ed6823d52f2a3b0b37d0500a5f3832b1d1d /gdb/testsuite/gdb.base/disp-step-syscall.exp | |
parent | 0b0bf41af8daed76ebe710d6c923b3be21728856 (diff) | |
download | gdb-20ec36d94265dd0a49c3da36a095a92668c55327.zip gdb-20ec36d94265dd0a49c3da36a095a92668c55327.tar.gz gdb-20ec36d94265dd0a49c3da36a095a92668c55327.tar.bz2 |
gdb/testsuite/
Fix results with system glibc debug info installed.
* gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
(continue to $syscall (2nd time), continue to $syscall (3rd time)):
Accept also __libc_ symbol prefix and no prefix.
Diffstat (limited to 'gdb/testsuite/gdb.base/disp-step-syscall.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/disp-step-syscall.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/disp-step-syscall.exp b/gdb/testsuite/gdb.base/disp-step-syscall.exp index a84ca29..36c9e2a 100644 --- a/gdb/testsuite/gdb.base/disp-step-syscall.exp +++ b/gdb/testsuite/gdb.base/disp-step-syscall.exp @@ -64,13 +64,13 @@ proc disp_step_cross_syscall { syscall } { } } - gdb_test "continue" "Continuing\\..*Breakpoint \[0-9\]+, .* in $syscall ().*" \ + gdb_test "continue" "Continuing\\..*Breakpoint \[0-9\]+, (.* in |__libc_|)$syscall \\(\\).*" \ "continue to $syscall (1st time)" # Hit the breakpoint on $syscall for the first time. In this time, we will let PLT # resolution done, and the number single steps we will do later will be # reduced. - gdb_test "continue" "Continuing\\..*Breakpoint \[0-9\]+, .* in $syscall ().*" \ + gdb_test "continue" "Continuing\\..*Breakpoint \[0-9\]+, (.* in |__libc_|)$syscall \\(\\).*" \ "continue to $syscall (2nd time)" # Hit the breakpoint on $syscall for the second time. In this time, the address # of syscall insn and next insn of syscall are recorded. @@ -102,7 +102,7 @@ proc disp_step_cross_syscall { syscall } { gdb_test "stepi" ".*" "stepi $syscall insn" set syscall_insn_next_addr [get_hexadecimal_valueof "\$pc" "0"] - gdb_test "continue" "Continuing\\..*Breakpoint \[0-9\]+, .* in $syscall ().*" \ + gdb_test "continue" "Continuing\\..*Breakpoint \[0-9\]+, (.* in |__libc_|)$syscall \\(\\).*" \ "continue to $syscall (3rd time)" # Hit the breakpoint on $syscall for the third time. In this time, we'll set |