This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: LD_PRELOAD, SIGTRAP and step/next


On Thu, Mar 17, 2005 at 02:15:22PM +0000, David Lecomber wrote:
> On Thu, 2005-03-17 at 09:12 -0500, Daniel Jacobowitz wrote:
> > 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...
> 
> 2.6.10-1.770_FC3smp
> 
> so pretty recent!

That's the one.  Try an even more recent kernel.

(The bug wasn't very long lived; it was introduced and fixed between
2.6.10 and 2.6.11.  I'm getting the feeling that FC3 picked it up
however.)

-- 
Daniel Jacobowitz
CodeSourcery, LLC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]