This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Breakpoints saving
- From: Michael Snyder <msnyder at specifix dot com>
- To: Roberto Saltini <house dot 83 at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Mon, 31 Mar 2008 10:39:09 -0700
- Subject: Re: Breakpoints saving
- References: <53d46f3a0803301930x73d080dfv4de7c78dc6d4312f@mail.gmail.com> <53d46f3a0803302230r9b8f28dsacafd52c23d27d4e@mail.gmail.com>
On Mon, 2008-03-31 at 07:30 +0200, Roberto Saltini wrote:
> Hello,
> is it possible to save somewhere the actual configuration of a debug
> session(breakpoints, wathcpoints, displays) ? Or directly in the target file?
> Thank you.
Not really. It is a request that we've seen before.
Problem is that a lot of that info is very context
sensative, so it's not really the case that you can,
for instance, save it in the middle of a session and
then reload it at the beginning of another session.
As a work around, you can save the outputs of eg.
"info break" and use those to reconstruct your
session state by hand later.