This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]