Is it just my installation, or does not "Watchpoints" work in v8.1?
I'm using OS X 10.1.5.
Watchpoints do not work with GDB at this time. We are working on someQuote:>Is it just my installation, or does not "Watchpoints" work in v8.1?
>I'm using OS X 10.1.5.
CodeWarrior Learning Edition v3
Professional C/C++ and JavaTM programming made easy!
Metrowerks, maker of CodeWarrior - "Software Starts Here"
The newer GDB versions support watchpoints in this fashion (e.g. gdb 4.4).
I am not sure if the gdb version that WRS distributes has them since they
are fairly new. You can try the gdb command "info watch" to see if it knows
about them. Like someone mentioned earlier, the watchpoints are real SLOW
since they check every instruction for a reference to the location. They
do not totally disable interrupts though so things still run to some extent.
Anyway, the best solution would be to use some HW support like an emulator
or logic analyzer. Fred
| Fred J Roeber, Raytheon Submarine Signal Division |
| 1847 West Main Road, Mail Stop 188 |
| Portsmouth, RI 02871-1087 (401) 847-8000 (X4205) |