This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Re: GDB 4.16 dumps core with egcs-1.0 (SOLVED)


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 \



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