This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] PR 15075 dprintf interferes with "next"
- From: Yao Qi <yao at codesourcery dot com>
- To: Hui Zhu <teawater at gmail dot com>
- Cc: Keith Seitz <keiths at redhat dot com>, Tom Tromey <tromey at redhat dot com>, <gdb-patches at sourceware dot org>
- Date: Wed, 24 Apr 2013 10:44:36 +0800
- Subject: Re: [RFC] PR 15075 dprintf interferes with "next"
- References: <1361192891-29341-1-git-send-email-yao at codesourcery dot com> <8738wpd3qe dot fsf at fleche dot redhat dot com> <CANFwon3DymreN3ost7ZSrd0deb_sBC6YTzk1fpv8k+7d0ADnLg at mail dot gmail dot com> <5176C14B dot 6010603 at redhat dot com> <CANFwon1tTZTVcn7ieP5=HnPy+2hCKP1my-UE1-Xosp=Q6WrGug at mail dot gmail dot com>
On 04/24/2013 07:59 AM, Hui Zhu wrote:
2013-04-23 Yao Qi<yao@codesourcery.com>
Hui Zhu<hui@codesourcery.com>
PR gdb/15075
^^^^^^^^^^^^ "PR breakpoints/15075"
* breakpoint.c (bpstat_stop_status): Call b->ops->after_cond.
(update_dprintf_command_list): Don't append "continue" command
to the command of dprintf breakpoint.
(base_breakpoint_after_cond): New.
(base_breakpoint_ops): Add base_breakpoint_after_cond.
(dprintf_after_cond): New.
(initialize_breakpoint_ops): Set dprintf_after_cond.
* breakpoint.h (breakpoint_ops): Add after_cond.
2013-04-23 Hui Zhu<hui@codesourcery.com>
PR gdb/15075
* gdb.base/dprintf.exp: Remove "continue" from "info breakpoint"
test.
We also need to stop checking "continue" in
gdb.mi/mi-breakpoint-changed.exp also, as what patch [1] does. B.T.W,
why don't you add gdb.base/pr15075.[c,exp] from patch [1]?
--
Yao (éå)
[1] http://sourceware.org/ml/gdb-patches/2013-02/msg00736.html