This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: "break main; run" test
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: gdb at sources dot redhat dot com, nathanw at wasabisystems dot com
- Date: Thu, 8 Jan 2004 22:16:21 -0500 (EST)
- Subject: Re: "break main; run" test
> When people refer to the test of starting gdb on a program, setting a
> breakpoint on "main", and running to that point, is there a particular
> standard test program in mind? "Hello world"? The GDB binary itself?
You are right; it is ambiguous.
To me, it usually means "the gdb binary itself", since the gdb binary is
a large program and it's guaranteed to exist. Sometimes it means
"hello world", and sometimes it means "any random program".
Michael C