This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: clear_breakpoint cleanup
- From: Jim Blandy <jimb at codesourcery dot com>
- To: Vladimir Prus <vladimir at codesourcery dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Wed, 14 Nov 2007 14:39:15 -0800
- Subject: Re: clear_breakpoint cleanup
- References: <200711141918.08715.vladimir@codesourcery.com>
Vladimir Prus <vladimir at codesourcery.com> writes:
> Now, clear_breakpoint directly removes breakpoints from
> global breakpoint list, even though delete_breakpoint
> can do it just fine. This is not causing any bugs, but
> for code simplicity sake, I'd like to reduce the amount
> of code that accesses breakpoint list. The following
> patch causes no regressions. OK?
This looks good to me.