Re: [lldb-dev] "image search-paths add" removes all breakpoints from remote server

2016-11-17 Thread Jim Ingham via lldb-dev
he executable would just >> be lost. >> >> -- >> Qualcomm Innovation Center, Inc. >> The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a >> Linux Foundation Collaborative Project >> >>> -----Original Message- >>>

Re: [lldb-dev] "image search-paths add" removes all breakpoints from remote server

2016-11-17 Thread Greg Clayton via lldb-dev
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a > Linux Foundation Collaborative Project > >> -Original Message- >> From: jing...@apple.com [mailto:jing...@apple.com] >> Sent: Wednesday, November 16, 2016 2:12 PM >> To: Ted Woodward &g

Re: [lldb-dev] "image search-paths add" removes all breakpoints from remote server

2016-11-16 Thread Ted Woodward via lldb-dev
- > From: jing...@apple.com [mailto:jing...@apple.com] > Sent: Wednesday, November 16, 2016 2:12 PM > To: Ted Woodward > Cc: LLDB > Subject: Re: [lldb-dev] "image search-paths add" removes all breakpoints > from remote server > > > > On Nov 16,

Re: [lldb-dev] "image search-paths add" removes all breakpoints from remote server

2016-11-16 Thread Jim Ingham via lldb-dev
> On Nov 16, 2016, at 12:03 PM, Ted Woodward via lldb-dev > wrote: > > Is “image search-paths add” supposed to remove all breakpoints from the > remote server? I don’t think it should be doing this. > > PathMappingList::Append calls Target::ImageSearchPathsChanged, which calls > Target::Set

[lldb-dev] "image search-paths add" removes all breakpoints from remote server

2016-11-16 Thread Ted Woodward via lldb-dev
Is "image search-paths add" supposed to remove all breakpoints from the remote server? I don't think it should be doing this. PathMappingList::Append calls Target::ImageSearchPathsChanged, which calls Target::SetExecutableModule, which calls Target::ClearModules, which removes the breakpoints.