Backward compatibility is the reason -
When I was testing with GDB+eclipse I found that OpenOCD received "qP" packets sometimes, and I think I implemented it first, before reading that same quotation you mentioned. Then when I implemented qThreadExtraInfo, I figured it was nicer to keep "qP" compatibility too.

Regards,

Evan




Quoting Jie Zhang <jzhang...@gmail.com>:

Hi Evan,

GDB manual says about "qP":

Don't use this packet; use the `qThreadExtraInfo' query instead (see below).

Since "qThreadExtraInfo" is already supported in rtos.c, why "qP" is
still needed?

Regards,
Jie
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development




_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to