This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix PR13898: Set breakpoint_ops in mi_cmd_break_insert.
- From: Tom Tromey <tromey at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Wed, 26 Sep 2012 09:16:38 -0600
- Subject: Re: [PATCH] Fix PR13898: Set breakpoint_ops in mi_cmd_break_insert.
- References: <1348617288-8237-1-git-send-email-yao@codesourcery.com>
>>>>> "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