[lldb-dev] Debugging x86 binaries on x86_64?

Vince Harron vharron at google.com
Wed Nov 19 08:11:48 PST 2014


It looks like debugging 32 bit processes hasn't been implemented yet.
You'll find many things missing in the current Linux support.  It's being
worked on but it will be a while.  Let me know if you're looking to help
out!  :)
On Nov 19, 2014 7:16 AM, "Arne Schmitz" <arne.schmitz at aixigo.de> wrote:

> Hi everyone,
>
> I just built lldb 3.5.0 from source on a x86_64 Debian Stable machine
> (because there are no packages for Debian Stable). When I try to debug a
> 32bit (x86) application with the resulting binary, I get the following
> error:
>
> $ lldb -p $(pgrep foo)
> lldb: llvm-3.5.0.src/tools/lldb/source/Plugins/Process/
> Utility/RegisterContextLinux_x86_64.cpp:137: uint32_t
> GetRegisterInfoCount(const lldb_private::ArchSpec&): Assertion
> `!GetPrivateRegisterInfoVector ().empty () && "i386 register info not yet
> filled."' failed.
> Aborted
>
> Debugging x86_64 works just fine. Why is that? Is this a known bug? How
> can I fix this?
>
> Best regards,
>
> Arne
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20141119/a59c40f0/attachment.html>


More information about the lldb-dev mailing list