On Thu, Jul 28, 2011 at 5:16 PM, Spencer Oliver <[email protected]> wrote: > It has been a while since i tested openocd with multiple targets - > over a year at a guess. > Hard to give an answer, but if i get a chance i will run some test tomorrow.
Hi Spen, thanks. I looked quickly at gdb_new_connection() and it seems that Target info is taken from gdb_service->target, which is initialized as : struct gdb_service *gdb_service = connection->service->priv; I am wondering if changes of active target by OpenOCD command "targets xy" affect this information in GDB... I.e. is GDB aware which target is currently active ? I also noted that switching to another target in Telnet interface before GDB connection does not change the things - GDB always connects to the first created target in cfg script, not to the one that is currently active ! BR, Drasko _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
