[lldb-dev] Debugging x86 binaries on x86_64?
Stephane Sezer
sas at fb.com
Mon Dec 1 10:07:20 PST 2014
This has been fixed back in August. You’re running an old version of lldb. I would recommend building from master if that’s possible for your use case.
--
Stephane Sezer
> On Nov 19, 2014, at 7:13 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
> https://urldefense.proofpoint.com/v1/url?u=http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev&k=ZVNjlDMF0FElm4dQtryO4A%3D%3D%0A&r=g1GoAnQQskSBaWLJWw6X6w%3D%3D%0A&m=4Wp8m%2BEITasex6OHUoKzmXgPoGCH%2B7LlA0nQd1yxTIE%3D%0A&s=2cbd485cc547cda1edd1627a7786f1ff1b78685d96a9a1553bd2be2bf779d466
More information about the lldb-dev
mailing list