[rfc;rfa:breakpoint] Pass full breakpoint/watchpoint count to target

Andrew Cagney ac131313@redhat.com
Sun Sep 29 20:44:00 GMT 2002


Hello,

The attached patch changes the target vector so that a count of each 
type of hardware watchpoint/breakpoint is passed to the 
target_can_use_hardware_breakpoints() function. (Anyone got a better 
name for the function?).

This lets targets make a better guess at how many watchpoints are going 
to be needed.  The intent is for the Z? packet to pass these totals down 
to the target.

Thoughts?

Is the breakpoint side ok?

(I need to find more hw with breakpoints to test against.)
Andrew

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20020929/9851f4ee/attachment.ksh>


More information about the Gdb-patches mailing list