This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [PATCH RFA] breakpoint.c: Pass breakpoint type to set_raw_breakpoint()


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


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