adjust watchpoint testing
Wu Zhou
woodzltc@cn.ibm.com
Tue Jun 13 06:43:00 GMT 2006
On Tue, 13 Jun 2006, Nathan Sidwell wrote:
> 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.
Do you mean to hard-wire the number of the hw watchpoint the underlying target
support into these base board files, or just set the number to 1?
I guess that we might need to work out a way to detect the number
automatically. Any thought?
Regards
- Wu Zhou
More information about the Gdb-patches
mailing list