[Lldb-commits] [PATCH] when connecting to a running gdb process or launch one from them, set the process architecture before calling SetThreadStopInfo

Greg Clayton gclayton at apple.com
Fri Oct 11 09:48:19 PDT 2013


Looks good.

On Oct 11, 2013, at 5:37 AM, Carlo Kok <ck at remobjects.com> wrote:

> The code in ProcessGDBRemote::SetThreadStopInfo depends on having a byte order & architecture set, but when connecting to a remote GDB with no arch/file loaded it doesn't have one yet and fails to set the register info properly, making the callstacks and dyld code fail, with this patch it becomes possible to use an empty target, connect and then load modules.
> 
> 
> -- 
> Carlo Kok
> RemObjects Software
> <lldb-no-registers-and-callstacks-without-architecture.patch>_______________________________________________
> lldb-commits mailing list
> lldb-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits




More information about the lldb-commits mailing list