[Lldb-commits] [PATCH] D16853: Use BKPT instead of UDF for arm/thumb breakpoints

Muhammad Omair Javaid via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 9 00:41:41 PST 2016


omjavaid added a comment.

GDB doesnt use bkpt instruction for user debugging for the reason that it interferes with jtag debug probes. I am not sure if LLDB will be ever used with a jtag probe in near future but still a jtag prob might be connected to the same hardware which is using LLDB to debug a user space application.

heres a discussion which happened some years back on similar issues:

https://sourceware.org/ml/gdb-patches/2010-01/msg00624.html

http://www.spinics.net/lists/arm-kernel/msg80476.html

I am fine with using bkpt as long as it helps us debug IT blocks and doesnt interfere with any of our currently functionality.


http://reviews.llvm.org/D16853





More information about the lldb-commits mailing list