Thanks for the report. Could you please submit a patch to https://review.openocd.org ? You may find details in https://openocd.org/doc/doxygen/html/patchguide.html
--- **[tickets:#449] GDB Server Should Return an Empty Response for Undefined GDB Packets** **Status:** new **Milestone:** 0.10.0 **Created:** Wed Feb 12, 2025 07:01 PM UTC by patryk sondej **Last Updated:** Wed Feb 12, 2025 07:06 PM UTC **Owner:** nobody Hi. Not all undefined GDB packets return an empty response. This is issue when debugging using LLDB. Since the openocd does not immediately return an empty response, each `nexti` command becomes very slow due to LLDB waiting for a receive timeout. Eg: ``` (gdb) maintenance packet jThreadsInfo sending: jThreadsInfo Ignoring packet error, continuing... error while fetching packet from remote target (gdb) maintenance packet xxx sending: xxx received: "" (gdb) maintenance packet jxxx sending: jxxx Ignoring packet error, continuing... error while fetching packet from remote target ``` I found out, a lot of gdb packets in openocd has missing `else` with empty response. --- Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is subscribed to https://sourceforge.net/p/openocd/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.