XML register info fix
authorEwan Crawford <ewan@codeplay.com>
Fri, 26 Jun 2015 09:38:27 +0000 (09:38 +0000)
committerEwan Crawford <ewan@codeplay.com>
Fri, 26 Jun 2015 09:38:27 +0000 (09:38 +0000)
commit682e84285514bfae8845f1d05d1ff8c9345def57
tree6f72ea6a4e6851d99c6adc29b441104e824d5cba
parentf4388a2ba4502a98188356605d61fd47d4223163
XML register info fix

There are a couple of bugs in the XML register info handling which this patch fixes:

+ conflicting variable names in lambda, both capture list and parameters contains a variable called 'name'.

+ prev_reg_num, which sets the register number, should be incremented after each register is processed.

+ Windows errors regarding empty strings and the 'xi:' prefix disappearing from 'xi:include' node name.

Reviewers: clayborg

Subscribers: lldb-commits, deepak2427

Differential Revision: http://reviews.llvm.org/D10731

llvm-svn: 240768
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp