> On Dec 5, 2017, at 12:45 PM, Pedro Alves <pal...@redhat.com> wrote: > > On 12/05/2017 06:49 PM, Greg Clayton via lldb-dev wrote: > >> Though it does seem to be a bug that the "gdbserver" you were using doesn't >> support the Target XML packets that the GDB remote protocol defines? Is this >> some old version of GDB remote from many many years ago? Seems any recent >> gdbserver should have this feature? > > The x86 port of gdbserver won't send back a XML target description > unless the client includes "xmlRegisters=i386" in the initial > qSupported negotiation. (This was done at the same time support > for x86 XML descriptions was added in order to keep new-gdbserver > working against old-gdb, because the XML register layout doesn't match > the no-XML layout.)
Interesting! So would we add xmlRegisters=i386 to qSupported for i386 and xmlRegisters=x86_64 for x86_64? We should have LLDB send this down to the server then and everything would just work? Greg _______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev