diff options
author | Tom de Vries <tdevries@suse.de> | 2022-05-09 12:22:02 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-05-09 12:22:02 +0200 |
commit | 4dcb932e645bdb0e63cecffb626d0805d9a19c27 (patch) | |
tree | 4e37bd08f9505bd504d5fe800b6a43f25d5b51b4 /gdb/rust-lang.c | |
parent | 5463a15c18bf01ba33bfbdc6739649fe1d00058b (diff) | |
download | gdb-4dcb932e645bdb0e63cecffb626d0805d9a19c27.zip gdb-4dcb932e645bdb0e63cecffb626d0805d9a19c27.tar.gz gdb-4dcb932e645bdb0e63cecffb626d0805d9a19c27.tar.bz2 |
[gdb/tdep] Support catch syscall pipe2 for i386
With test-case gdb.base/catch-syscall.exp and target board unix/-m32, we run
into:
...
(gdb) catch syscall pipe2^M
Unknown syscall name 'pipe2'.^M
(gdb) FAIL: gdb.base/catch-syscall.exp: determine pipe syscall: catch syscall pipe2
...
Fix this by:
- adding a pipe2 entry in gdb/syscalls/i386-linux.xml.in, and
- regenerating gdb/syscalls/i386-linux.xml using
"xsltproc --output i386-linux.xml apply-defaults.xsl i386-linux.xml.in".
Tested on x86_64-linux with native and unix/-m32.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29056
Diffstat (limited to 'gdb/rust-lang.c')
0 files changed, 0 insertions, 0 deletions