upmem / lldb

Mirror of official lldb git repository located at http://llvm.org/git/lldb.
http://lldb.llvm.org
Other
0 stars 0 forks source link

Cannot read DPU memories using dpu-lldb-attach-dpu #8

Closed dlagneux-upmem closed 3 years ago

dlagneux-upmem commented 3 years ago

I'm trying to run a simple test module that uses the DPU kernel API to allocate/launch DPUs. I cannot make it work for now, as one the function loops forever. Once the kernel complains about the stall, I kill the VM, and try to attach to a DPU on the host machine using:

dpu-lldb-attach-dpu 0.0.0

The command manages to attach to DPU, but I'm not able to read any memory:

(lldb) memory read 0x80000000
error: failed to read memory from 0x80000000
(lldb) disassemble --start-address 0x0
error: Failed to disassemble memory at 0x00000000
dlagneux-upmem commented 3 years ago

Moved to upmem/llvm-project