Re: [lldb-dev] Loading object file to target flash memory using vFlashWrite

2018-01-11 Thread Greg Clayton via lldb-dev
> On Jan 11, 2018, at 2:22 AM, Pavel Labath wrote: > > On 10 January 2018 at 22:17, Owen Shaw via lldb-dev > mailto:lldb-dev@lists.llvm.org>> wrote: >> Thanks! >> >> ObjectFileELF::SetLoadAddress(...) is where I already have a change >> that got things working, just wasn't sure if I'd be steppi

Re: [lldb-dev] Loading object file to target flash memory using vFlashWrite

2018-01-11 Thread Pavel Labath via lldb-dev
On 10 January 2018 at 22:17, Owen Shaw via lldb-dev wrote: > Thanks! > > ObjectFileELF::SetLoadAddress(...) is where I already have a change > that got things working, just wasn't sure if I'd be stepping on > anything else that relied on the values set there. > > Looks like I dropped the dev list

Re: [lldb-dev] Loading object file to target flash memory using vFlashWrite

2018-01-10 Thread Owen Shaw via lldb-dev
Thanks! ObjectFileELF::SetLoadAddress(...) is where I already have a change that got things working, just wasn't sure if I'd be stepping on anything else that relied on the values set there. Looks like I dropped the dev list in my last message. Adding it back so this is captured. On Wed, Jan 10

Re: [lldb-dev] Loading object file to target flash memory using vFlashWrite

2018-01-09 Thread Greg Clayton via lldb-dev
> On Jan 9, 2018, at 3:53 PM, Owen Shaw via lldb-dev > wrote: > > Looks like there was an addition about a year ago to load an object > file to bare metal target memory via "target modules load --load". > https://reviews.llvm.org/D28804 > > However, this isn't working in my case with openocd a