Call strprefix instead of strncmp in event parsing
authorDon Breazeal <donb@codesourcery.com>
Wed, 30 Sep 2015 16:58:34 +0000 (09:58 -0700)
committerDon Breazeal <donb@codesourcery.com>
Wed, 30 Sep 2015 17:14:45 +0000 (10:14 -0700)
commit6ab24463cb63af792c958ab4455d630b5936f1b1
treee5765394bcb2dd279e6246a5c94abbbeeaa4cccc
parent6899683948c66a81ae470efc0869ea01e489e9cd
Call strprefix instead of strncmp in event parsing

This fixes a typo that used strncmp instead of strprefix when
checking for an exec event in a stop reply packet.

gdb/ChangeLog:

* remote.c (remote_parse_stop_reply): Call strprefix instead
of strncmp.
gdb/ChangeLog
gdb/remote.c