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

Greg Clayton gclayton at apple.com
Mon Aug 19 17:37:14 PDT 2013


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