• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting watchpoints in GDB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Setting watchpoints in GDB
      • From: Jim Ingham <email@hidden>
References: 
 >Setting watchpoints in GDB (From: Paul Sargent <email@hidden>)
 >Re: Setting watchpoints in GDB (From: Jonas Maebe <email@hidden>)
 >Re: Setting watchpoints in GDB (From: Paul Sargent <email@hidden>)

  • Prev by Date: Re: Setting watchpoints in GDB
  • Next by Date: Extending Xcode?
  • Previous by thread: Re: Setting watchpoints in GDB
  • Next by thread: Re: Setting watchpoints in GDB
  • Index(es):
    • Date
    • Thread