Re: Linux 2.1.125 doesn't dump core on SIGSEGV

Matthew Kirkwood (weejock@ferret.lmh.ox.ac.uk)
Wed, 28 Oct 1998 14:31:13 +0000 (GMT)


On Wed, 28 Oct 1998, Matthias Urlichs wrote:

> > |> gdb tends to change the way malloc()ed memory is laid out
> >
> > Huh? How that?
>
> Don't ask me. I have noticed more than once that "I forgot to initialize
> malloc()ed data structures" segfaults go away when I run programs under
> gdb.

I've seen similar things with "I tried to change something const", but
only in probgrams compiled with -ggdb. Just -g and it works (read:
segfaults as it should :)

Matthew.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/