mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-07 20:00:53 +00:00

GDB "-thread-info N" command (for a specific thread N) may fail if GDB can not perform a backtrace. At the same time, "-thread-info" command succeeds in this situation, returning information for all threads. Replace repeated calls to "-thread-info N" with a single call to "-thread-info", also reducing the total execution time.