From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Buettner To: gdb-patches@sources.redhat.com Subject: Re: [PATCH RFA] breakpoint.c: Pass breakpoint type to set_raw_breakpoint() Date: Fri, 11 May 2001 13:10:00 -0000 Message-id: <1010511201006.ZM28852@ocotillo.lan> References: <1010511075057.ZM27226@ocotillo.lan> X-SW-Source: 2001-05/msg00241.html 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