Re: adjust watchpoint testing

Nathan Sidwell
2006-06-13T06:23:25Z

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