First attempt at $Z0/z0 support.

Register write support added.

PC backup implemented incorrectly vs. preferred plan.  lldb needs to
assume llgs has done everything necessary to continue when the breakpoint
gets hit.  So right after the $T, everything should be good to either remove
or continue again (handle PC backup, if needed, after the breakpoint is hit,
not on the resume).

This code as is seg faults in the inferior.  It looks like the breakpoint
address is being calculated incorrectly and backing up from null to -1.
Added PC verification test to breakpoint test.

The program counter value is now retrieved and verified
to be equal to the breakpoint address after the program
stops at the breakpoint.

Currently this is one off at this point as we are not yet
correctly adjusting the PC at the time of the stop.

This implies either GetPC () is not being implemented
correctly, or something else funky is going on with
the existing PC adjustment code.
Added gdb-remote program counter check at breakpoint.

Modified the breakpoint stop and start check to verify the program
counter printed immediately after stopping does match the breakpoint
address. This is based on a conversation with Greg Clayton clarifying
that the breakpoint stop handling code on a remote should do any and
all adjusting of the program counter at stop time, not at resume time.

Added a qProcessInfo parser and helper methods to add the collection
send/response elements to the packet flow. Removed the older pid-only
query mechanism. The parser verifies all the keys provided are within
the documented known set of key-value pairs.

Added helper routine to unpack the hex value of a $p-style register
read response according to the endian-ness of the inferior as reported
by qProcessInfo.

Added a test to verify qProcessInfo includes an endian key/value pair.

Refactored several older tests to move to the less verbose test
startup code. Most of these were the tests using the older
qProcessInfo pid-only retrieval code.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@210374 91177308-0d34-0410-b5e6-96231b3b80d8
Remove invalid comment from last commit.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@210376 91177308-0d34-0410-b5e6-96231b3b80d8
Merge upstream llvm.org r210376 into dev-z-command.

This is the branch where I'm fixing up handling of breakpoint
stop.

Conflicts:
	test/tools/lldb-gdbserver/TestLldbGdbServer.py
Fixed up qProcessInfo keys.

Tweaked gdb-remote qProcessInfo response parsing.