[lldb-dev] LLDB bare-metal and 'load' command
Abid, Hafiz via lldb-dev
lldb-dev at lists.llvm.org
Fri Dec 16 09:36:07 PST 2016
Hi Ted,
I have a utility that communicate with the board (jtag over usb) and presents a gdb-server
interface. I could debug an application on the board using gdb. I was trying to do similar
thing with LLDB but could not figure how to do what 'load' command of gdb does.
Thanks,
Abid
--
Hafiz Abid Qadeer
hafiz_abid at mentor.com
CodeSourcery / Mentor Embedded
> -----Original Message-----
> From: Ted Woodward [mailto:ted.woodward at codeaurora.org]
> Sent: 16 December 2016 17:23
> To: Abid, Hafiz; 'Greg Clayton'; 'LLDB'
> Subject: RE: [lldb-dev] LLDB bare-metal and 'load' command
>
> Hi Abid,
>
> How are you communicating with the ARM? lldb->gdbserver->jtag probe?
> We've discussed doing that kind of thing with Hexagon, but we're nowhere
> near implementing it.
>
> "process launch" on linux can download the target to the remote machine
> when connected in platform mode. If you make your remote server and
> platform do that, it should handle what you need.
>
> Ted
>
> --
> Qualcomm Innovation Center, Inc.
> The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a
> Linux Foundation Collaborative Project
>
>
> > -----Original Message-----
> > From: lldb-dev [mailto:lldb-dev-bounces at lists.llvm.org] On Behalf Of Abid,
> > Hafiz via lldb-dev
> > Sent: Friday, December 16, 2016 11:00 AM
> > To: Greg Clayton (gclayton at apple.com) <gclayton at apple.com>
> > Cc: lldb-dev at lists.llvm.org
> > Subject: [lldb-dev] LLDB bare-metal and 'load' command
> >
> > Hi Greg,
> > I was trying to do some bare-metal debugging with LLDB and an ARM
> board. I
> > noticed that LLDB does not have a command similar to 'load' command of
> > GDB. Searching the mailing list, it seems that this issue has been discussed
> > before.
> >
> > http://lists.llvm.org/pipermail/lldb-dev/2014-March/003476.html
> >
> > Has any such command been added in LLDB since that discussion? If not,
> > then I would like to take a stab at adding this command in LLDB proper. I
> was
> > wondering where such command will make most sense. Should it be added
> > to some existing group like 'process' or 'image' or be a stand-alone
> > command?
> >
> > Thanks,
> > Abid
> > _______________________________________________
> > lldb-dev mailing list
> > lldb-dev at lists.llvm.org
> > http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
More information about the lldb-dev
mailing list