[lldb-dev] Small fixes
Filipe Cabecinhas
filcab+lldb-dev at gmail.com
Tue Aug 9 16:56:32 PDT 2011
Hi,
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".
I am also not able to do a "process load mylib.dylib", where mylib has this
table (I'm trying to redefine printf):
➜ tests ±:(master) ! nm -m libmylib.dylib
00000f60 (__TEXT,__text) external _printf
00000fa0 (__TEXT,__text) non-external _strlen
(undefined) external _write$UNIX2003 (from libSystem)
(undefined) external dyld_stub_binder (from libSystem)
I get the error:
*error: failed to load '~/src/tests/libmylib.dyld': Execution was
interrupted, reason: breakpoint site 3.*
*The process has been returned to the state before execution.*
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?
Regards,
Filipe
On Tue, Aug 2, 2011 at 11:07, Filipe Cabecinhas
<filcab+lldb-dev at gmail.com>wrote:
> Hi,
>
> Here are two small fixed:
>
> - Fixed ifdeffed code that only compiles when debugging with the
> DEBUG_STACK_FRAMES flag.
> - Makes CommandObjectThreadStepWithTypeAndScope.Execute() behave like
> what was described in the mailing list: If there is no selected thread,
> select the first one (index 0).
>
> Regards,nbsp; Filipe
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20110809/a70225ec/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-ifdeffed-code-stackframelist.patch
Type: application/octet-stream
Size: 1220 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20110809/a70225ec/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: get-first-thread-if-no-selected-thread.patch
Type: application/octet-stream
Size: 966 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20110809/a70225ec/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ProcessLoadError.patch
Type: application/octet-stream
Size: 658 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20110809/a70225ec/attachment-0002.obj>
More information about the lldb-dev
mailing list