[lldb-dev] LLDB bare-metal and 'load' command

2016-12-16 Thread Abid, Hafiz via lldb-dev
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/0034

Re: [lldb-dev] LLDB bare-metal and 'load' command

2016-12-16 Thread Ted Woodward via lldb-dev
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

Re: [lldb-dev] LLDB bare-metal and 'load' command

2016-12-16 Thread Abid, Hafiz via lldb-dev
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 Abi

Re: [lldb-dev] logging in lldb

2016-12-16 Thread Jim Ingham via lldb-dev
Yeah, I’m with Jason. I don’t find the current state of things hard to read or work with. The proposed solutions seem a little uglier to me. I try to avoid macros, to me it makes it look like the code is shouting at you, giving the log lines more prominence then they deserve in the overall

Re: [lldb-dev] LLDB bare-metal and 'load' command

2016-12-16 Thread Greg Clayton via lldb-dev
> On Dec 16, 2016, at 9:00 AM, Abid, Hafiz wrote: > > 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 discusse

Re: [lldb-dev] LLDB bare-metal and 'load' command

2016-12-16 Thread Abid, Hafiz via lldb-dev
Original message From: Greg Clayton Date: 16/12/2016 21:48 (GMT+00:00) To: "Abid, Hafiz" Cc: lldb-dev@lists.llvm.org Subject: Re: LLDB bare-metal and 'load' command > On Dec 16, 2016, at 9:00 AM, Abid, Hafiz wrote: > > Hi Greg, > I was trying to do some bare-metal debugging

Re: [lldb-dev] LLDB bare-metal and 'load' command

2016-12-16 Thread Greg Clayton via lldb-dev
> On Dec 16, 2016, at 2:29 PM, Abid, Hafiz wrote: > > > > Original message > From: Greg Clayton > Date: 16/12/2016 21:48 (GMT+00:00) > To: "Abid, Hafiz" > Cc: lldb-dev@lists.llvm.org > Subject: Re: LLDB bare-metal and 'load' command > > > > On Dec 16, 2016, at 9:00 AM, Ab