This is the mail archive of the gdb@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]

How do I set a hard watchpoint with gdbserver?


I'm using a configuration of gdb and gdbserver. Both the host (gdb) and the target (gdbserver) are running on Linux on Intel 486 or 586 sytstems.

I would like to be able to issue the command:

watch *(int*)addr

and have it set a "hard" watchpoint on the target. What seems to happening is that a soft watchpoint is being set since when I continue everything seems to hang until I ^C and remove the watchpoint.

How do I persuade gdbserver to set a hard watchpoint rather than a soft watchpoint? Breakpoints work fine in that they get set hard.

Thanks,

Dave Garrod


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