This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: GDB 4.16 dumps core with egcs-1.0 (SOLVED)
- To: law at cygnus dot com
- Subject: Re: GDB 4.16 dumps core with egcs-1.0 (SOLVED)
- From: Ronald Wahl <Ronald dot Wahl at informatik dot tu-chemnitz dot de>
- Date: Wed, 14 Jan 1998 08:37:41 +0100 (CET)
- cc: Raffaele Sena <raff at aromatic dot com>, egcs-bugs at cygnus dot com, tdowney at newscorp dot com
On Tue, 13 Jan 1998, Jeffrey A Law wrote:
>
> In message <Pine.LNX.3.96.980113224611.14365B-100000@goliath.csn.tu-chemnitz.
> de>you write:
> > > Note that some of the code egcs installs into the init sections calls
> > > malloc behind gdb's back, which can cause this behavior.
> > >
> > > egcs-1.0.1 will have a newer version of this code which will not call
> > > malloc and should avoid these kinds of problems with gdb.
> >
> > Now I use pgcc-1.0.1 (based on egcs-1.0.1) and the bug still occurs. I
> > don't think that pgcc changes the init-code.
> Hmmm, I can't speak for pgcc, but egcs-1.0.1 did remove the code which calls
> malloc before main. Primarily to fix this problem with gdb.
>
> Note that if you have a shared library which was compiled with egcs-1.0
> that is used by gdb, then you'll still trip over this problem until the
> shared library is rebuilt with egcs-1.0.1.
Aah, now after rebuilding my systems readline+termcap everything is
working. Thanx.
ron
--
\ Ronald Wahl --- rwa@informatik.tu-chemnitz.de \
\ WWW: http://www.tu-chemnitz.de/~row \
\ Talk: rwa@goliath.csn.tu-chemnitz.de \
\ PGP key available by finger to my email address \