Re: (re)compiling gcc-2.7.2.1 under linux alpha: note && question

Andreas Johansson (ajo@wopr.campus.luth.se)
Tue, 22 Oct 1996 00:23:25 +0200 (MET DST)

> Not only would the cc1 I was building core-dump doing _anything_ --
> even being invoked with no arguments -- running gdb on it would core-
> dump gdb! The closest I got to finding the problem was getting into
> where init_lex() calls xmalloc(), and stepping into the call to
> malloc() would core-dump. But, so would breaking on an _earlier_
> xmalloc() call and running from there!

Well, I have found that single-stepping on malloc coredumps gdb every
time and with every program (and both c and c++). So this is probably
not your problem. If you set a breakpoint further away it works.

-- 

<-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-> : E-mail: ajo@wopr.campus.luth.se : : S-mail: Andreas Johansson, Karhusvagen 5 6:618, 977 54 Lulea, SWEDEN : : Have you had your dose of 261.62 BogoMIPS today? - Run Alpha! : <-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=->

--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null



Feedback | Store | News | Support | Product Errata | About Us | Linux Info | Search | JumpWords
No Frames | Show Frames

Copyright © 1995-1997 Red Hat Software. Legal notices