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: Joel Brobecker <brobecker at gnat dot com>
- To: Michael Elizabeth Chastain <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 12:45:11 -0700
- Subject: Re: [RFA/RFC] New command: ``start''
- References: <20040518193036.BD7544B104@berman.michael-chastain.com>
> I don't think 'class constructors' is right here. It's more like
> 'constructors for static and global objects'.
Yeah, my knowledge of C++ is not so good...
I have changed the latest version to use this instead:
+Some programs contain an elaboration phase where some startup code is
+executed before the main program is called. This depends on the
+languages used to write your program. In C@t{++} for instance,
+constructors for static and global objects are executed before
+@code{main} is called. It is therefore possible that the debugger stops
+before reaching the main procedure. However, the temporary breakpoint
+will remain to halt execution.
--
Joel