[lldb-dev] NativeProcessProtocol breakpoint setting

Todd Fiala tfiala at google.com
Mon Mar 24 11:02:51 PDT 2014


Thanks, Jim!


On Mon, Mar 24, 2014 at 11:02 AM, <jingham at apple.com> wrote:

> Size is to handle things architectures like arm where you have two
> breakpoint sizes, the Thumb breakpoint and the Arm breakpoint.  Since you
> don't want the lower level NativeProcessProtocol to have to call back into
> the symbols layer, it will need to be told this in general.
>
> If the address is not loaded yet, the request should fail.  The layers
> above this will manage trying again when appropriate.
>
> Jim
>
> On Mar 24, 2014, at 10:33 AM, Todd Fiala <tfiala at google.com> wrote:
>
> > Hey Greg,
> >
> > For this method in NativeProcessProtocol:
> >
> >         virtual Error
> >         SetBreakpoint (lldb::addr_t addr, size_t size, bool hardware);
> >
> > What exactly is the size meant to represent?
> >
> > Also, is this method meant to be able to succeed if the breakpoint
> address isn't yet loaded, or should it fail if the address isn't loaded yet
> and assume that the caller would be watching for module load events and
> handle buffering breakpoints until the address is available?
> >
> > Can you point me to where debugserver implements the equivalent?
> >
> > Thanks!
> > --
> > Todd Fiala |    Software Engineer |    tfiala at google.com |
> 650-943-3180
> >
> > _______________________________________________
> > lldb-dev mailing list
> > lldb-dev at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
>


-- 
Todd Fiala | Software Engineer | tfiala at google.com | 650-943-3180
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140324/cd238955/attachment.html>


More information about the lldb-dev mailing list