[Bug 17942] New: Putting a breakpoint with an expression from history (e.g. b $3) does not work

Bug ID 17942
Summary Putting a breakpoint with an expression from history (e.g. b $3) does not work
Product lldb
Version 3.2
Hardware Macintosh
OS MacOS X
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter christophe@taodyne.com
Classification Unclassified

The following session illustrates the issue (to reproduce, build xlr from
[https://gitorious.org/xlr/xlr/commits/be2f08174b3a56a8673093f131945bb011350ddf](https://gitorious.org/xlr/xlr/commits/be2f08174b3a56a8673093f131945bb011350ddf),
using LLVM 2.9)

Debugging MapFunctionInfo::Apply. This will trigger for example on code such
as:

writeln with "ABC", "DEF"

(lldb) p map
p map
(XL::map_fn) $7 = 0x000000010bf4cb80

// Error here is probably duplicate of #17941
(lldb) b map
b map
Breakpoint 2: 197 locations.

(lldb) br del 2
br del 2
1 breakpoints deleted; 0 breakpoint locations disabled.

// ISSUE HERE
(lldb)b $7
b $7
Breakpoint 3: no locations (pending).
WARNING:  Unable to resolve breakpoint to any actual locations.