Re: [lldb-dev] [Bug 27020] New: "command alias r run" causes an assert

2016-03-22 Thread Enrico Granata via lldb-dev
> On Mar 22, 2016, at 3:26 PM, Ted Woodward wrote: > > The assert is gone – the alias to an alias behaves as expected. Glad to hear! I put in a test case just to make sure we don’t regress on this in the future > > There is one issue with my testcase, “command alias r run”. That’s “help r”.

Re: [lldb-dev] [Bug 27020] New: "command alias r run" causes an assert

2016-03-22 Thread Ted Woodward via lldb-dev
The assert is gone – the alias to an alias behaves as expected. There is one issue with my testcase, “command alias r run”. That’s “help r”. The last line is “'r' is an abbreviation for 'run -c /bin/sh --'”, but that’s not true. ‘run’ is an abbreviation for 'process launch -c /bin/sh --', and

Re: [lldb-dev] [Bug 27020] New: "command alias r run" causes an assert

2016-03-22 Thread Enrico Granata via lldb-dev
Ted, I think this is fixed by r264096 Can you try and make sure it works for you? > On Mar 21, 2016, at 2:51 PM, Enrico Granata via lldb-dev > wrote: > > >> On Mar 21, 2016, at 2:27 PM, via lldb-dev > > wrote: >> >> Bug ID 27020

Re: [lldb-dev] "target modules load" and breakpoints not working correctly

2016-03-22 Thread Greg Clayton via lldb-dev
> On Mar 22, 2016, at 1:45 PM, Ted Woodward wrote: > > > This is the code in DynamicLoaderHexagonDYLD.cpp that is loading sections, > with my change to call GetLoadBaseAddress(): > >for (unsigned i = 0; i < num_sections; ++i) >{ >SectionSP section_sp (sections->GetSectionAtInd

Re: [lldb-dev] "target modules load" and breakpoints not working correctly

2016-03-22 Thread Ted Woodward via lldb-dev
This is the code in DynamicLoaderHexagonDYLD.cpp that is loading sections, with my change to call GetLoadBaseAddress(): for (unsigned i = 0; i < num_sections; ++i) { SectionSP section_sp (sections->GetSectionAtIndex(i)); lldb::addr_t new_load_addr = section_sp->GetFileAdd