[lldb-dev] ELF parsing/disassembly almost, but not quite working?

Eli Friedman eli.friedman at gmail.com
Tue Jun 22 19:01:57 PDT 2010


With a few hacks and some Makefiles, I have lldb running on Linux
(I'll contribute them once I have a couple more things taken care of).
 However, when I try using it, I get the following not-so-useful
results on the attached ELF-32 file:

eli at eli-laptop:~/llvmgbuild/tools/lldb$ ~/llvmgbuild/Release/bin/lldb
(lldb) file /tmp/a
Current executable set to '/tmp/a' (x86_64).
(lldb) disassemble -n main
(lldb) quit
Segmentation fault

The segfault is probably an issue in my own code, but I'm sort of
suprised the attempted disassembly leads to no output.  Any ideas?

-Eli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a
Type: application/octet-stream
Size: 7097 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20100622/cdbc1188/attachment.obj>


More information about the lldb-dev mailing list