This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH RFA] breakpoint.c: Pass breakpoint type to set_raw_breakpoint()
- To: gdb-patches at sources dot redhat dot com
- Subject: Re: [PATCH RFA] breakpoint.c: Pass breakpoint type to set_raw_breakpoint()
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Fri, 11 May 2001 13:10:06 -0700
- References: <1010511075057.ZM27226@ocotillo.lan>
On May 11, 12:50am, Kevin Buettner wrote:
> * breakpoint.c (set_raw_breakpoint): Add new parameter
> representing the breakpoint's type. Adjust all callers.
> (create_longjmp_breakpoint, create_temp_exception_breakpoint)
> (create_thread_event_breakpoint): Don't test for zero return
> value from set_raw_breakpoint(). It can never be zero.
> (create_exception_catchpoint, watch_command_1): Move logic
> which calculates the breakpoint type prior to the call to
> set_raw_breakpoint().
Committed.
Thanks to Fernando Nasser, Jim Blandy, and Michael Snyder for their
comments on this patch.
Kevin