This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: gdb won't stop at break point in simple program
- From: Jim Blandy <jimb at red-bean dot com>
- To: Paul Hughes <paulh at ot dot com dot au>
- Cc: gdb at sourceware dot org
- Date: Thu, 9 Feb 2006 23:13:26 -0800
- Subject: Re: gdb won't stop at break point in simple program
- References: <43EC22CF.5070402@ot.com.au>
On 2/9/06, Paul Hughes <paulh@ot.com.au> wrote:
> I've just written the simplest program I could.
> I set a break point in main and run the program.
> Gdb prints out some odd messages
> "Detaching after fork from child process XXXXX"
> Program ends without stopping at the break point.
> Can anyone shed any light on what is going on here?
Wow. You're using the GDB and GCC included with your distribution?
I know the current GDB sources don't behave this way; the GDB test
suite does the equivalent of your test, and more, many, many times, so
there's no way we could have missed it.
I think there's something very strange going on on your machine.