Fix mis-parsing of hex register numbers in 'T' stop replies.
authorSandra Loosemore <sandra@codesourcery.com>
Tue, 18 Aug 2015 17:29:54 +0000 (10:29 -0700)
committerSandra Loosemore <sandra@codesourcery.com>
Tue, 18 Aug 2015 17:29:54 +0000 (10:29 -0700)
commit26d56a939e9e54e09d46ea6e9678463ac344fa33
tree50a71636ee96d39429961096c85ac29ce57b5d6e
parentcae1fbbb7e3d770702a0d7a5027b46835e6adc13
Fix mis-parsing of hex register numbers in 'T' stop replies.

2015-08-18  Sandra Loosemore  <sandra@codesourcery.com>

gdb/
* remote.c (strprefix): New.
(remote_parse_stop_reply): Use strprefix instead of strncmp
to ensure exact match of keyword.
gdb/ChangeLog
gdb/remote.c