<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Obviously a bug. Fixed in r<span style="font-family: Menlo; font-size: 11px; background-color: rgb(255, 255, 255);" class="">287386.</span><div class=""><font face="Menlo" class=""><span style="font-size: 11px; background-color: rgb(255, 255, 255);" class=""><br class=""></span></font></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px; background-color: rgb(255, 255, 255);" class="">Jim</span></font></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px; background-color: rgb(255, 255, 255);" class=""><br class=""></span></font><div><blockquote type="cite" class=""><div class="">On Nov 18, 2016, at 11:47 AM, Zachary Turner via lldb-dev <<a href="mailto:lldb-dev@lists.llvm.org" class="">lldb-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">CommandObjectThreadUntil::DoExecute() has the following code:<br class=""><div class=""><br class=""></div><div class=""><div class=""> for (size_t i = 0; i < num_args; i++) {</div><div class=""> uint32_t line_number;</div><div class=""> line_number = StringConvert::ToUInt32(command.GetArgumentAtIndex(0),</div><div class=""> UINT32_MAX);</div><div class=""> if (line_number == UINT32_MAX) {</div><div class=""> result.AppendErrorWithFormat("invalid line number: '%s'.\n",</div><div class=""> command.GetArgumentAtIndex(0));</div><div class=""> result.SetStatus(eReturnStatusFailed);</div><div class=""> return false;</div><div class=""> } else</div><div class=""> line_numbers.push_back(line_number);</div><div class=""> }</div></div><div class=""><br class=""></div><div class="">1) It looks to me like this is supposed to be GetArgumentAtIndex(i) instead of GetArgumentAtIndex(0). Is this in fact a bug?</div><div class=""><br class=""></div><div class="">2) The ability for this command to take multiple line numbers is not documented. Should it be?</div></div>
_______________________________________________<br class="">lldb-dev mailing list<br class=""><a href="mailto:lldb-dev@lists.llvm.org" class="">lldb-dev@lists.llvm.org</a><br class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev<br class=""></div></blockquote></div><br class=""></div></body></html>