--
You received this message because you are subscribed to the Google Groups "RISC-V Debug Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debug+un...@groups.riscv.org.
To post to this group, send email to de...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/debug/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/debug/CAF6YiZ4NKPySz%2BV_MzKAevsQWgEpi4aZXs46tbC83Yk1H2gTCQ%40mail.gmail.com.
1. Use `-rtos riscv` as Tommy mentioned. OpenOCD will enumerate all harts itself, and expose each one to gdb as a thread. This only works if the harts are homogeneous.
--
You received this message because you are subscribed to the Google Groups "RISC-V Debug Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debug+un...@groups.riscv.org.
To post to this group, send email to de...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/debug/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/debug/e7016665-5c7f-4576-b0e2-7e1d1d546f80%40groups.riscv.org.
On Tue, Oct 23, 2018 at 11:54 AM Tommy Murphy <tommy_...@hotmail.com> wrote:On Tuesday, 23 October 2018 19:23:31 UTC+1, Tim Newsome wrote:1. Use `-rtos riscv` as Tommy mentioned. OpenOCD will enumerate all harts itself, and expose each one to gdb as a thread. This only works if the harts are homogeneous.Hi Tim - what do you mean by homogeneous here?Last time I tried it -rtos riscv worked fine with the HiFive nleashed board which has 1 x E51 rv64imac and 4 x U54 rv64gc - i.e.what I would call heterogeneous cores/harts...gdb will assume the harts are identical. So eg. if one of them is RV32 and another RV64 then you're going to have a bad time. Differences that are more subtle might not cause any problems