Files
binutils-gdb/gdb/testsuite/gdb.base
Tom de Vries 276e7f5c88 [gdb/testsuite] Fix typo in gdb.base/catch-syscall.exp
On aarch64-linux with a gdb build without libexpat, I run into:
...
(gdb) PASS: gdb.base/catch-syscall.exp: determine pipe syscall: \
  catch syscall 59
continue
Continuing.

Catchpoint 5 (call to syscall 59), 0x0000fffff7e04578 in pipe () from \
  /lib64/libc.so.6
(gdb) FAIL: gdb.base/catch-syscall.exp: determine pipe syscall: continue
...

In the test-case, this pattern handles either the syscall name or number for
the pipe syscall:
...
  -re -wrap "Catchpoint $decimal \\(call to syscall (pipe|$SYS_pipe)\\).*" {
...
but the pattern for the pipe2 syscall mistakenly uses SYS_pipe instead of
SYS_pipe2:
...
  -re -wrap "Catchpoint $decimal \\(call to syscall (pipe2|$SYS_pipe)\\).*" {
...
and consequently doesn't handle the pipe2 syscall number.

Fix the typo by using SYS_pipe2 instead.

Tested on aarch64-linux.
2023-12-31 09:39:45 +01:00
..
2023-01-26 18:28:32 -07:00
2023-06-03 22:43:57 +02:00
2023-01-26 18:28:32 -07:00
2023-01-13 13:18:56 -07:00
2023-01-25 09:02:11 -07:00
2023-01-13 13:18:56 -07:00
2023-01-25 09:02:11 -07:00
2023-01-25 09:02:11 -07:00
2023-06-03 22:43:57 +02:00
2023-01-13 13:18:56 -07:00
2023-01-26 18:28:32 -07:00
2023-06-03 22:43:57 +02:00
2023-01-13 13:18:56 -07:00
2023-01-26 18:28:32 -07:00
2023-06-03 22:43:57 +02:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-02-27 19:12:28 +00:00
2023-01-13 13:18:58 -07:00
2023-03-10 08:21:46 -07:00
2023-01-26 18:28:32 -07:00
2023-01-13 13:18:56 -07:00
2023-01-13 13:18:56 -07:00
2023-01-13 13:18:58 -07:00
2023-01-26 18:28:32 -07:00
2023-01-13 13:18:56 -07:00
2023-10-08 09:52:29 +02:00
2023-01-26 18:28:32 -07:00
2023-01-26 18:28:32 -07:00
2023-01-13 13:18:57 -07:00
2023-01-13 13:18:56 -07:00
2023-01-13 13:18:58 -07:00
2023-04-28 10:43:20 -07:00
2023-06-03 22:43:57 +02:00
2023-01-26 18:28:32 -07:00
2023-06-03 22:43:57 +02:00
2023-01-26 18:28:32 -07:00
2023-01-13 13:18:58 -07:00
2023-01-26 18:28:32 -07:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:56 -07:00
2023-01-25 09:02:11 -07:00
2023-01-26 18:28:32 -07:00
2023-01-26 18:28:32 -07:00
2023-01-13 13:18:58 -07:00
2023-03-10 08:21:46 -07:00
2023-01-13 13:18:58 -07:00
2023-01-25 09:02:11 -07:00
2023-01-13 13:18:57 -07:00
2023-02-27 19:12:28 +00:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-01-25 09:02:11 -07:00
2023-01-26 18:28:32 -07:00
2023-03-10 08:21:46 -07:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:56 -07:00
2023-01-13 13:18:56 -07:00
2023-01-25 09:02:11 -07:00
2023-01-26 18:28:32 -07:00
2023-01-25 09:02:11 -07:00
2023-01-13 13:18:58 -07:00
2023-11-21 14:52:05 -07:00
2023-03-10 08:21:46 -07:00
2023-01-25 09:02:11 -07:00
2023-03-10 08:21:46 -07:00
2023-01-26 18:28:32 -07:00
2023-01-13 13:18:56 -07:00
2023-03-10 08:21:46 -07:00
2023-06-03 22:43:57 +02:00
2023-01-26 18:28:32 -07:00
2023-01-26 18:28:32 -07:00
2023-01-13 13:18:56 -07:00
2023-01-13 13:18:58 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-01-26 18:28:32 -07:00
2023-01-13 13:18:58 -07:00
2023-01-25 09:02:11 -07:00
2023-01-13 13:18:58 -07:00
2023-01-25 09:02:11 -07:00
2023-01-26 18:28:32 -07:00
2023-01-13 13:18:58 -07:00
2023-01-26 18:28:32 -07:00
2023-01-13 13:18:56 -07:00
2023-01-13 13:18:56 -07:00
2023-03-10 08:21:46 -07:00
2023-10-22 09:03:42 -06:00
2023-01-26 18:28:32 -07:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:56 -07:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:56 -07:00
2023-01-26 18:28:32 -07:00
2023-01-25 09:02:11 -07:00
2023-01-25 09:02:11 -07:00
2023-06-03 22:43:57 +02:00