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

Re: PR8554: New command to save breakpoints to a file


On Thursday 15 April 2010 19:46:15, Michael Snyder wrote:
> 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?

We save them.

-- 
Pedro Alves


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