[PATCH] Fix PR13898: Set breakpoint_ops in mi_cmd_break_insert.

Tom Tromey tromey@redhat.com
Wed Sep 26 15:17:00 GMT 2012


>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:

Yao> 2012-09-26  Yao Qi  <yao@codesourcery.com>
Yao> 	PR breakpoints/13898
Yao> 	* breakpoint.h (tracepoint_breakpoint_ops): Forward declaration.
Yao> 	* mi/mi-cmd-break.c (mi_cmd_break_insert): Set breakpoint_ops
Yao> 	per breakpoint type.

Yao> +  ops = (tracepoint ? &tracepoint_breakpoint_ops : &bkpt_breakpoint_ops);

No need for parens here.
Ok with that change.

Tom



More information about the Gdb-patches mailing list