This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA/RFC] New command: ``start''
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: brobecker at gnat dot com, mec dot gnu at mindspring dot com
- Cc: eliz at gnu dot org, gdb-patches at sources dot redhat dot com
- Date: Tue, 18 May 2004 16:21:55 -0400 (EDT)
- Subject: Re: [RFA/RFC] New command: ``start''
jb> Some programs contain an elaboration phase where some startup code is
jb> executed before the main program is called. This depends on the
jb> languages used to write your program. In C@t{++} for instance,
jb> constructors for static and global objects are executed before
jb> @code{main} is called. It is therefore possible that the debugger stops
jb> before reaching the main procedure. However, the temporary breakpoint
jb> will remain to halt execution.
It works for me!
Michael C