]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/testsuite] Fix gdb.base/reset-catchpoint-cond.exp with --with-expat=no
authorTom de Vries <tdevries@suse.de>
Tue, 3 Dec 2024 15:53:14 +0000 (16:53 +0100)
committerTom de Vries <tdevries@suse.de>
Tue, 3 Dec 2024 15:53:14 +0000 (16:53 +0100)
commitd556cf2ec79ed5afbbdd523484954c6a520b5b73
tree985e968373d9244d0a3bd9cede9e653df3acc76e
parent6804a0969d4a27870e76e472d0e5b66a7c4c9dc9
[gdb/testsuite] Fix gdb.base/reset-catchpoint-cond.exp with --with-expat=no

When building gdb with --with-expat=no and running test-case
gdb.base/reset-catchpoint-cond.exp we get:
...
(gdb) catch syscall write^M
warning: Can not parse XML syscalls information; \
  XML support was disabled at compile time.^M
Unknown syscall name 'write'.^M
(gdb) FAIL: $exp: mode=syscall: catch syscall write
...

Fix this by skipping the test for --with-expat=no.

Tested on x86_64-linux.
gdb/testsuite/gdb.base/reset-catchpoint-cond.exp