PR remote/17946: Fix wrong comparison of pointer against char
We were comparing a pointer against a char on remote.c. 'dcb' filed a bug to inform us about that. I pushed the following patch under the obvious rule. gdb/ChangeLog: 2015-02-09 Sergio Durigan Junior <sergiodj@redhat.com> PR remote/17946 * gdb/remote.c (remote_parse_stop_reply): Fix wrong comparison of pointer against char.
This commit is contained in:
parent
134cdf8ed3
commit
0b24eb2de5
|
@ -1,3 +1,9 @@
|
||||||
|
2015-02-09 Sergio Durigan Junior <sergiodj@redhat.com>
|
||||||
|
|
||||||
|
PR remote/17946
|
||||||
|
* gdb/remote.c (remote_parse_stop_reply): Fix wrong comparison
|
||||||
|
of pointer against char.
|
||||||
|
|
||||||
2015-02-09 Mark Wielaard <mjw@redhat.com>
|
2015-02-09 Mark Wielaard <mjw@redhat.com>
|
||||||
|
|
||||||
* c-typeprint.c (cp_type_print_method_args): Handle '_Atomic'.
|
* c-typeprint.c (cp_type_print_method_args): Handle '_Atomic'.
|
||||||
|
|
|
@ -5682,7 +5682,7 @@ Packet: '%s'\n"),
|
||||||
{
|
{
|
||||||
p++;
|
p++;
|
||||||
|
|
||||||
if (p == '\0')
|
if (*p == '\0')
|
||||||
;
|
;
|
||||||
else if (strncmp (p,
|
else if (strncmp (p,
|
||||||
"process:", sizeof ("process:") - 1) == 0)
|
"process:", sizeof ("process:") - 1) == 0)
|
||||||
|
|
Loading…
Reference in New Issue