gdb/gdbserver/

* server.c (process_point_options): Print debug message when
	debug_threads is true.
This commit is contained in:
Yao Qi 2013-02-27 13:31:38 +00:00
parent 15b42fb01d
commit d171ca7803
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-02-27 Yao Qi <yao@codesourcery.com>
* server.c (process_point_options): Print debug message when
debug_threads is true.
2013-02-26 Yao Qi <yao@codesourcery.com>
* tracepoint.c (cmd_qtbuffer): Don't set '\0' in OWN_BUF.

View File

@ -2860,7 +2860,8 @@ process_point_options (CORE_ADDR point_addr, char **packet)
if (*dataptr == 'X')
{
/* Conditional expression. */
fprintf (stderr, "Found breakpoint condition.\n");
if (debug_threads)
fprintf (stderr, "Found breakpoint condition.\n");
add_breakpoint_condition (point_addr, &dataptr);
}
else if (strncmp (dataptr, "cmds:", strlen ("cmds:")) == 0)