Hi,<div><br></div><div>It seems I forgot to include the patches in this message, sorry about that. I'm sending them now, along with a patch to report errors when doing a "process load".</div><div><br></div><div>
I am also not able to do a "process load mylib.dylib", where mylib has this table (I'm trying to redefine printf):</div><div><div><div>➜ tests ±:(master) ! nm -m libmylib.dylib</div><div>00000f60 (__TEXT,__text) external _printf</div>
<div>00000fa0 (__TEXT,__text) non-external _strlen</div><div> (undefined) external _write$UNIX2003 (from libSystem)</div><div> (undefined) external dyld_stub_binder (from libSystem)</div></div><div><br></div>
<div>I get the error:</div><div><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="1038.36">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo}
</style>
<p class="p1"><b>error: failed to load '~/src/tests/libmylib.dyld': Execution was interrupted, reason: breakpoint site 3.</b></p>
<p class="p1"><b>The process has been returned to the state before execution.</b></p></div><div><br></div><div>The error is from ClangUserExpression->Evaluate(). I suppose that breakpoint site is internal (I only have placed one breakpoint site, in main()). How can I know what is going on?</div>
<div><br></div><div>Regards,</div><div><br></div><div> Filipe<br><br><div class="gmail_quote">On Tue, Aug 2, 2011 at 11:07, Filipe Cabecinhas <span dir="ltr"><<a href="mailto:filcab%2Blldb-dev@gmail.com">filcab+lldb-dev@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>Hi,</div><div><br></div><div>Here are two small fixed:</div><div><br></div><div> - Fixed ifdeffed code that only compiles when debugging with the <span style="color:rgb(71, 128, 16);font-family:Menlo;font-size:11px">DEBUG_STACK_FRAMES</span> flag.</div>
<div> - Makes <span style="color:rgb(71, 128, 16);font-family:Menlo;font-size:11px">CommandObjectThreadStepWithTypeAndScope.Execute() </span>behave like what was described in the mailing list: If there is no selected thread, select the first one (index 0).</div>
<div><br></div><div>Regards,nbsp; Filipe<br><div><br></div></div>
</blockquote></div><br></div></div>