This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR13898: Set breakpoint_ops in mi_cmd_break_insert.


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]