This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: questions / suggestions about gdb
- From: "Charles James Leonardo Quarra Cappiello" <charsquarra at hotmail dot com>
- To: gdb at sources dot redhat dot com
- Date: Tue, 07 May 2002 15:06:57 -0400
- Subject: Re: questions / suggestions about gdb
- Bcc:
On Tue, 7 May 2002 15:00:37 -0400 Daniel Jacobowitz wrote:
>On Tue, May 07, 2002 at 02:58:03PM -0400, Charles James Leonardo Quarra
>Cappiello wrote:
> > Hi,
> >
> >
> > I'm an often user of gdb, and i was wondering, since debuggers cant go
>to
> > past states (no inversibility of the run), it would be nice if two
> > instances of the debugger could run synchronized with a given step
>offset,
> > so when the advanced instance break, the retarded instance stops,
>keeping
> > an analogous state which can be studied.
> >
> > This actually can be done or is not feasible? If can't be done just now
>but
> > is from the debugger's developers point of view feasible, consider this
>a
> > feature request.
>
>GDB just gained a feature that'll do almost what you want: the
>`generate-core-file' command. You can then debug the new corefile to
>examine the frozen state.
>
can i activate the 'generate-core-file' a few steps before the program
breaks?
-Charles Quarra
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos:
http://photos.msn.com/support/worldwide.aspx