[lldb-dev] [patch] Avoid crash when connecting to gdbserver

Abid, Hafiz Hafiz_Abid at mentor.com
Tue Aug 20 01:56:09 PDT 2013


Greg,
Thanks for the review. I don't have commit access so please commit on my behalf.

Thanks,
Abid

> -----Original Message-----
> From: Greg Clayton [mailto:gclayton at apple.com]
> Sent: 20 August 2013 01:37
> To: Abid, Hafiz
> Cc: lldb-dev at cs.uiuc.edu
> Subject: Re: [lldb-dev] [patch] Avoid crash when connecting to gdbserver
> 
> Looks good. Commit when you can.
> 
> On Aug 15, 2013, at 6:04 AM, Abid, Hafiz <Hafiz_Abid at mentor.com> wrote:
> 
> > Hi All,
> > I noticed a crash when I connect to gdbserver without first loading a file.
> This is on x86_64 with Ubuntu 12.04.
> >
> > ./lldb
> > (lldb) gdb-remote 10000
> > Segmentation fault (core dumped)
> >
> > The attached patch adds a check to avoid the crash. Does it look ok?
> >
> > Regards,
> > Abid
> > <crash.patch>_______________________________________________
> > lldb-dev mailing list
> > lldb-dev at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev





More information about the lldb-dev mailing list