From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15538 invoked by alias); 7 Mar 2007 19:09:20 -0000 Received: (qmail 15398 invoked by uid 22791); 7 Mar 2007 19:09:19 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.palmsource.com (HELO mx2.palmsource.com) (12.7.175.14) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 07 Mar 2007 19:09:10 +0000 Received: from localhost (localhost [127.0.0.1]) by localhost.domain.tld (Postfix) with ESMTP id B9584136427; Wed, 7 Mar 2007 11:09:07 -0800 (PST) Received: from mx2.palmsource.com ([127.0.0.1]) by localhost (mx2.palmsource.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05944-01-20; Wed, 7 Mar 2007 11:09:06 -0800 (PST) Received: from ussunex01.palmsource.com (unknown [192.168.101.9]) by mx2.palmsource.com (Postfix) with ESMTP id B8BA8136426; Wed, 7 Mar 2007 11:09:06 -0800 (PST) Received: from 192.168.92.81 ([192.168.92.81]) by ussunex01.palmsource.com ([192.168.101.9]) via Exchange Front-End Server owa.palmsource.com ([10.0.20.17]) with Microsoft Exchange Server HTTP-DAV ; Wed, 7 Mar 2007 19:09:06 +0000 Received: from svmsnyderlnx by owa.palmsource.com; 07 Mar 2007 11:09:05 -0800 Subject: Re: gdb continues when I want "next" From: Michael Snyder To: Markus.Grunwald@pruftechnik.com Cc: gdb@sourceware.org In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Wed, 07 Mar 2007 19:09:00 -0000 Message-Id: <1173294544.22513.4.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-03/txt/msg00117.txt.bz2 > Breakpoint 1, CPTLinearGraphic::CalculateLinLines (this=0x9251de0) > at > /home/gru/projects/vxp/branches/branch-0-2-10-X/Dafit_Code/drawdevices/CPTLinearGraphic.cpp:1640 > (gdb) n > (gdb) n > Detaching after fork from child process 29873. > [Thread -1863816272 (LWP 29869) exited] > > Program received signal SIGTRAP, Trace/breakpoint trap. > [Switching to Thread -1863816272 (LWP 29869)] > 0xb7446891 in __nptl_death_event () from > /lib/tls/i686/cmov/libpthread.so.0 Hang on -- are we forking a multi-threaded program? Can't really do that, you know... or at least, it's likely to be quite unpredictable unles the *only* thing the fork-child does is call exec.