This is the mail archive of the gdb-patches@sourceware.org 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]
Other format: [Raw text]

Re: adjust watchpoint testing


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


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