Re: Setting watchpoints in GDB
Re: Setting watchpoints in GDB
- Subject: Re: Setting watchpoints in GDB
- From: Jonas Maebe <email@hidden>
- Date: Mon, 25 Oct 2004 09:59:26 +0200
On 25 okt 2004, at 00:59, Paul Sargent wrote:
Thing is..... OMG how slow is it? It says it's adding a hardware
watchpoint. If that's hardware.....!!!!! I have a feeling what I was
seeing before as a hang was just a very slow running program.
True hardware watchpoints are still not supported in the PPC version of
gdb afaik (even though (most?) ppc's has this capability). I think it
currently simply makes the page containing the watched data read-only,
and then after each segmentation fault checks whether the watched data
has changed.
If there are lots of other changes to the page containing the data you
are watching, this is indeed very slow. The old way where gdb always
used software watchpoints on ppc (single stepping through the program
and checking whether the watched value changed after each instruction)
was even worse though :)
Jonas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden