Try this: `target modules load --load --set-pc-to-entry --slide 0`.

From: lldb-dev <lldb-dev-boun...@lists.llvm.org> On Behalf Of via lldb-dev
Sent: Wednesday, July 22, 2020 7:10 PM
To: lldb-dev@lists.llvm.org
Subject: [lldb-dev] Remote debug arm bare metal target with lldb - load 
executable to target

Hello,
we are trying to debug firmware running on a stm32 using OpenOCD and LLDB.
GNU-GDB provides a 'load' command to load the sections from an ELF file to the 
target device.
We have tried to use 'target modules load --load' command to load ELF sections 
to a specific address, but that didn't work.
If there is a way at all, what is the proper way to load the executable to the 
target device with LLDB?
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to