[Lldb-commits] [PATCH] D37934: Fix compatibility with OpenOCD debug stub.

Vadim Chugunov via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 15 16:08:49 PDT 2017


vadimcn added a comment.

This is what I see in the log:

  <  16> send packet: $qfThreadInfo#bb
  <   5> read packet: $l#6c

And here's code that generates it:  https://github.com/gnu-mcu-eclipse/openocd/blob/b21ab1d683aaee501d45fe8a509a2043123f16fd/src/rtos/rtos.c#L370

I agree, they should have responded with "not supported", but I've never heard of a system that allows processes without threads, and openocd is pretty popular in embedded, so I think it would make sense to just support this quirk.   That's what gdb does anyways...


Repository:
  rL LLVM

https://reviews.llvm.org/D37934





More information about the lldb-commits mailing list