<div dir="ltr">Scratch that, looks like you already fixed this.</div><br><div class="gmail_quote"><div dir="ltr">On Wed, Apr 19, 2017 at 4:50 PM Zachary Turner <<a href="mailto:zturner@google.com">zturner@google.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'll take a look</div><br><div class="gmail_quote"><div dir="ltr">On Wed, Apr 19, 2017 at 10:33 AM Jim Ingham via lldb-dev <<a href="mailto:lldb-dev@lists.llvm.org">lldb-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">No, this was an inadvertent side effect of rewriting the command parser to use llvm's StringRef's. Please file a bug (or submit a patch!)<br>
<br>
Jim<br>
<br>
> On Apr 18, 2017, at 10:49 PM, via lldb-dev <<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a>> wrote:<br>
><br>
> Hello,<br>
><br>
> The query to repeat a command from history used to be !<command_number> but it looks like that doesnt work anymore. It seems to require a space in between (! <command_number>).<br>
><br>
> Was this change made intentionally ?<br>
><br>
> Code snippet from CommandHistory.cpp:<br>
><br>
> input_str = input_str.drop_front(); --> this drops the !<br>
><br>
> size_t idx = 0;<br>
> if (input_str.front() == '-') {<br>
> if (input_str.drop_front(2).getAsInteger(0, idx))<br>
> return llvm::None;<br>
> if (idx >= m_history.size())<br>
> return llvm::None;<br>
> idx = m_history.size() - idx;<br>
> } else {<br>
> if (input_str.drop_front().getAsInteger(0, idx)) --> we drop here again<br>
> return llvm::None;<br>
> if (idx >= m_history.size())<br>
> return llvm::None;<br>
> }<br>
><br>
> Thanks,<br>
> Sudharsan Veeravalli<br>
> _______________________________________________<br>
> lldb-dev mailing list<br>
> <a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev</a><br>
<br>
_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev</a><br>
</blockquote></div></blockquote></div>