diff options
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/server.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index bd780ad..14bbe16 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -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. diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c index 371647c..768eae7 100644 --- a/gdb/gdbserver/server.c +++ b/gdb/gdbserver/server.c @@ -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) |