From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27120 invoked by alias); 10 Feb 2006 07:13:30 -0000 Received: (qmail 27055 invoked by uid 22791); 10 Feb 2006 07:13:29 -0000 X-Spam-Check-By: sourceware.org Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.197) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 10 Feb 2006 07:13:28 +0000 Received: by zproxy.gmail.com with SMTP id 8so156247nzo for ; Thu, 09 Feb 2006 23:13:26 -0800 (PST) Received: by 10.36.2.20 with SMTP id 20mr3190819nzb; Thu, 09 Feb 2006 23:13:26 -0800 (PST) Received: by 10.37.2.63 with HTTP; Thu, 9 Feb 2006 23:13:26 -0800 (PST) Message-ID: <8f2776cb0602092313h4d48cef4o2c334e71b4736d40@mail.gmail.com> Date: Fri, 10 Feb 2006 07:13:00 -0000 From: Jim Blandy To: Paul Hughes Subject: Re: gdb won't stop at break point in simple program Cc: gdb@sourceware.org In-Reply-To: <43EC22CF.5070402@ot.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43EC22CF.5070402@ot.com.au> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00072.txt.bz2 On 2/9/06, Paul Hughes 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.