[lldb-dev] Disassembling issue

Romaric Jodin via lldb-dev lldb-dev at lists.llvm.org
Wed Jun 12 06:22:34 PDT 2019


Hi everyone,

I'm trying to have lldb being able to debug my architecture. It does it
well after loading my elf. But then I run it, stop it in middle, try to
disassemble and at that point it seems that I lost some information about
my architecture. lldb tries to disassemble it for x86, which in not
possible with my toolchain.

Here is a log of what I am doing:

(lldb) file test
Current executable set to 'test' (dpu).
(lldb) dis -s 0x80000000
test`__bootstrap:
test[0x80000000] <+0>:  jnz    id, 0x80000020
test[0x80000008] <+8>:  move   r0, 0xff
test[0x80000010] <+16>: release r0, 0x0, nz, 0x80000018
test[0x80000018] <+24>: sub    r0, r0, 0x1, pl, 0x80000010
(lldb) r
Process 21312 launched: '/home/rjodin/work/dpu_tools/llvm/lldb/test/test'
(dpu)
Process 21312 stopped
* thread #1, name = 'DPUthread0', stop reason = Thread stopped
    frame #0: 0x0000000080000090
(lldb) dis -s 0x80000000
error: Unable to find Disassembler plug-in for the 'x86_64' architecture.
(lldb)


Any ideas of what I am missing in my implementation?
Thanks,
-- 
*Romaric JODIN*
UPMEM
*Software Engineer*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20190612/8ca507ce/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logo signature mail 50x50.png
Type: image/png
Size: 1939 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20190612/8ca507ce/attachment.png>


More information about the lldb-dev mailing list