Øyvind Harboe wrote:
> Currently each target gets it's own GDB server.
>
> However, I'm thinking that it would be better in most cases to
> have each CPU represented as a thread in GDB. That way only
> one debug session needs to be opened.
>
> This would be for CPUs of the same type that share memory.
>
> Thoughts?
>   

1) What if I have two different ARCH, like ARM7tdmi + ARM-Cortex? 
    Or worse -  ARM + DSP on the same target?

2) What if GDB already knows about my threads?

3) GDB assumes a single address space for all threads - *MAYBE* true for 
*SOME* multi-core cpu. But - not all multi-cores have common address 
space.  ie: Blackfin BF561 - has 2 cores, shares external SDRAM but - 
each core has its own private on chip SRAM that is not accessible by the 
other core, also the two cores are non-cache coherent.


-Duane.



_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to