From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20819 invoked by alias); 17 Mar 2005 14:12:52 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 20739 invoked from network); 17 Mar 2005 14:12:43 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 17 Mar 2005 14:12:43 -0000 Received: from drow by nevyn.them.org with local (Exim 4.44 #1 (Debian)) id 1DBvjk-00075f-BX; Thu, 17 Mar 2005 09:12:32 -0500 Date: Thu, 17 Mar 2005 14:12:00 -0000 From: Daniel Jacobowitz To: David Lecomber Cc: gdb Subject: Re: LD_PRELOAD, SIGTRAP and step/next Message-ID: <20050317141231.GA27192@nevyn.them.org> Mail-Followup-To: David Lecomber , gdb References: <1111063455.8222.23.camel@delmo.priv.wark.uk.streamline-computing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1111063455.8222.23.camel@delmo.priv.wark.uk.streamline-computing.com> User-Agent: Mutt/1.5.6+20040907i X-SW-Source: 2005-03/txt/msg00166.txt.bz2 On Thu, Mar 17, 2005 at 12:44:15PM +0000, David Lecomber wrote: > Dear all, > > I am debugging using a memory checking library -- dmalloc -- this does > the usual things via an LD_PRELOAD over the malloc. I am getting > SIGTRAP when trying to call a function in this library -- but only after > a step or a next; after a user-defined breakpoint behaviour is correct! Kernel version? This sounds like a Linux kernel bug that has since been fixed... -- Daniel Jacobowitz CodeSourcery, LLC