From mboxrd@z Thu Jan 1 00:00:00 1970 From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) To: brobecker@gnat.com, mec.gnu@mindspring.com Cc: eliz@gnu.org, gdb-patches@sources.redhat.com Subject: Re: [RFA/RFC] New command: ``start'' Date: Tue, 18 May 2004 20:21:00 -0000 Message-id: <20040518202155.D5FA44B104@berman.michael-chastain.com> X-SW-Source: 2004-05/msg00537.html 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