Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
gdb/gdbserver:

2015-09-15  Yao Qi  <[email protected]>

	* server.c (handle_query): Check string comparison using
	"else if" instead of "if".
  • Loading branch information
Yao Qi committed Sep 15, 2015
1 parent d15dcec commit 7c5d0fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions gdb/gdbserver/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2015-09-15 Yao Qi <[email protected]>

* server.c (handle_query): Check string comparison using
"else if" instead of "if".

2015-09-15 Yao Qi <[email protected]>

* server.c (vCont_supported): New global variable.
Expand Down
2 changes: 1 addition & 1 deletion gdb/gdbserver/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -2117,7 +2117,7 @@ handle_query (char *own_buf, int packet_len, int *new_packet_len_p)
if (target_supports_vfork_events ())
report_vfork_events = 1;
}
if (strcmp (p, "exec-events+") == 0)
else if (strcmp (p, "exec-events+") == 0)
{
/* GDB supports and wants exec events if possible. */
if (target_supports_exec_events ())
Expand Down

0 comments on commit 7c5d0fa

Please sign in to comment.