[Bug 20747] New: be more consistent about not stopping mid-line

Bug ID 20747
Summary be more consistent about not stopping mid-line
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter dblaikie@gmail.com
CC aprantl@apple.com, jingham@apple.com
Classification Unclassified

Stopping in the middle of a line is sometimes not what the user intended.

See some discussion on the cfe-commits thread "[PATCH] PR19864: Revert r209764
in favor of the fix in r215766 (loop backedge jump attributed to confusing
location when the last source line of a loop is inside a conditional)" (
[https://www.mail-archive.com/cfe-commits@cs.uiuc.edu/msg103950.html](https://www.mail-archive.com/cfe-commits@cs.uiuc.edu/msg103950.html) ) for one
example of this - though it's questionable whether this was an intentional
behavioral interaction between GCC and GDB, but it's a convenient one at least,
without any clear alternatives just yet.