adjust watchpoint testing

Nathan Sidwell nathan@codesourcery.com
Tue Jun 13 06:23:00 GMT 2006


Wu Zhou wrote:
> Nathan,
> 
> I see your code have such two lines:
> 
> +     if [target_info exists gdb,hardware_watchpoints] {
> +       set nwatch [target_info gdb,hardware_watchpoints]
> 
> Where is this target_info variable set up?  Did you set that somewhere in 
> the dejagnu package?  I am very curious about how it is implemented.

you need to add a line to the dejagnu board support file to initialize it.  In 
just the same way as things like gdb,nosignals is set.

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk



More information about the Gdb-patches mailing list