Make breakpoint condition detection trace conditional on remote_debug.
gdb/gdbserver/ChangeLog: * server.c (process_point_options): If a conditional expression is found, only print a message if remote_debug is nonzero.
This commit is contained in:
parent
83c532cb59
commit
c6030312dc
|
@ -1,3 +1,8 @@
|
|||
2012-03-08 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* server.c (process_point_options): If a conditional expression
|
||||
is found, only print a message if remote_debug is nonzero.
|
||||
|
||||
2012-03-08 Luis Machado <lgustavo@codesourcery.com>
|
||||
|
||||
* ax-gdb.c (gen_fetch): Fail gracefully and use error instead
|
||||
|
|
|
@ -2908,6 +2908,7 @@ process_point_options (CORE_ADDR point_addr, char **packet)
|
|||
{
|
||||
case 'X':
|
||||
/* Conditional expression. */
|
||||
if (remote_debug)
|
||||
fprintf (stderr, "Found breakpoint condition.\n");
|
||||
add_breakpoint_condition (point_addr, &dataptr);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue