PR8554: New command to save breakpoints to a file

Michael Snyder msnyder@vmware.com
Thu Apr 15 18:46:00 GMT 2010


Pedro Alves wrote:
> On Thursday 15 April 2010 18:51:55, Michael Snyder wrote:
>> What about watchpoints?  Do we get all the context info right?
> 
> Watchpoints on globals, as right as breakpoints.  Watchpoints on
> locals, no, you're just out of luck.  I don't think there's
> much to do there; GDB gets rid of those on process start/exit,
> so users are used to those not being very "persistanteable".
> OTOH, it may be useful to be able to dump watchpoints on locals,
> and be able to load them up when you know it's okay, so never
> dumping those isn't that great either.  So, IMO, we shouldn't
> worry much about those, at least, in this first patch.  :-)  I
> could add a note to the manual, perhaps.

That's cool.  So what do we do now?  Just skip them?
Save the global ones, skip the local ones?



More information about the Gdb-patches mailing list