]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
GDB: testsuite: riscv: Don't return value from top-level (manual)
authorThiago Jung Bauermann <thiago.bauermann@linaro.org>
Wed, 29 Apr 2026 23:03:59 +0000 (20:03 -0300)
committerThiago Jung Bauermann <thiago.bauermann@linaro.org>
Fri, 8 May 2026 21:49:23 +0000 (21:49 +0000)
commitd7056b7c94de782294e645ba1e2173ce76c1a9f4
treec6668aa3264c7a82f5cafc6538823ac3400e100f
parentd398db7219e33d43374bd0fa3505d5605a5f5d3d
GDB: testsuite: riscv: Don't return value from top-level (manual)

This patch manually changes the "return -1" and "return 0" statements
that weren't caught by the sed command.

This happened only in one testcase due to the statements being inside a
foreach_with_prefix block, and in the others because the return
statement was in a misaligned line, which is now fixed.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/testsuite/gdb.arch/riscv-bp-infcall.exp
gdb/testsuite/gdb.arch/riscv-info-fcsr.exp
gdb/testsuite/gdb.arch/riscv-reg-aliases.exp
gdb/testsuite/gdb.arch/riscv-unwind-long-insn.exp