aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2024-08-31 07:56:48 +0200
committerTom de Vries <tdevries@suse.de>2024-08-31 07:56:48 +0200
commit1a86b364a30f60abaa4762dd1b9af3818840416c (patch)
tree9303278598934aae41cd9a3acaf376a4d2f6f2e2 /gdb/ada-lang.c
parentd5de35fb07af0c5c8933842651a1cd5cc0ca77ea (diff)
downloadbinutils-1a86b364a30f60abaa4762dd1b9af3818840416c.zip
binutils-1a86b364a30f60abaa4762dd1b9af3818840416c.tar.gz
binutils-1a86b364a30f60abaa4762dd1b9af3818840416c.tar.bz2
[gdb/testsuite] Handle unsupported catch syscall
On riscv64-linux, I run into: ... Expecting: ^(catch syscall[^M ]+)?((&.*)*.*~"Catchpoint 5 .*\\n".*=breakpoint-created,bkpt=\{number="5",type="catchpoint".*\}.*\n\^done[^M ]+[(]gdb[)] ^M [ ]*) catch syscall^M &"catch syscall\n"^M &"The feature 'catch syscall' is not supported on this architecture yet.\n"^M ^error,msg="The feature 'catch syscall' is not supported on this architecture yet."^M (gdb) ^M FAIL: gdb.mi/mi-breakpoint-changed.exp: test_insert_delete_modify: catch syscall (unexpected output) ... Fix this by: - factoring out proc supports_catch_syscall out of gdb.base/catch-syscall.exp, and - using it in gdb.mi/mi-breakpoint-changed.exp. Tested on x86_64-linux and riscv64-linux. Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/ada-lang.c')
0 files changed, 0 insertions, 0 deletions