I have a target with 5 cores. The first one is pretty plain, and the other
4 have some fancier features like an FPU. They're not identical, but I'd
still like to debug them from gdb as they are 5 threads. The problem I run
into is that, because the first core doesn't have an FPU, when gdb requests
the register list it gets a list with no FPU registers, which means it
can't access them on the other threads either.

I'm thinking of solving this by having gdb_generate_target_description()
look at target->smp and create a union of all the registers in each target
in target->head. Does that seem reasonable? Is there a better way to solve
this?

I'd love to simply say that gdb should be aware of heterogeneous multicore,
but AFAIK that doesn't really exist.

Tim
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to