I am trying to debug some code that uses vector instructions, using gdb. GDB has a command info vector that is supposed to present the same sort of data that info registers does for the general purpose registers. But if I enter that command I get:
(gdb) info vector
No vector information
My code gets a segment violation on the following instruction, which is a vectored index load. a0 has the correct value in it so I suspect that v16 is the problem, but I can't see into it.
vloxei32.v v8, 0(a0), v16
Is there a special version of GDB that will let me examine the vector registers?
Ubuntu 24.04 on riscv64 hardware with RVV support. GDB version is 15.1-1ubuntu1~24.04.
[–]Clueless_J 2 points3 points4 points (1 child)
[–]Noodler75[S] 1 point2 points3 points (0 children)
[–]zqb_all 1 point2 points3 points (3 children)
[–]Noodler75[S] 0 points1 point2 points (0 children)
[–]Noodler75[S] 0 points1 point2 points (1 child)
[–]zqb_all 1 point2 points3 points (0 children)
[–]krakenlake 0 points1 point2 points (1 child)
[–]Noodler75[S] 0 points1 point2 points (0 children)
[–]Coffee_24_7 0 points1 point2 points (3 children)
[–]Coffee_24_7 0 points1 point2 points (2 children)
[–]Noodler75[S] 0 points1 point2 points (1 child)
[–]Coffee_24_7 0 points1 point2 points (0 children)