Code Comments
Programming Forum and web based access to our favorite programming groups.I use g77 with FreeBSD 4.9 and sometimes I get core dumps which I don't want. With big programs it takes 10s of seconds to complete the dump. I've tried recompiling without -g, but that doesn't seem to prevent the dumps. Is there an easy way to prevent dumps?
Post Follow-up to this messageIn article <6lHyd.2304$wZ2.2016@newssvr13.news.prodigy.com>, Joel Mosher <kb6rxe@pacbell.net> writes: > I use g77 with FreeBSD 4.9 and sometimes I get core dumps which I don't > want. With big programs it takes 10s of seconds to complete the dump. > I've tried recompiling without -g, but that doesn't seem to prevent the > dumps. > > Is there an easy way to prevent dumps? Yes. man login.conf -- Steve http://troutmask.apl.washington.edu/~kargl/
Post Follow-up to this messageJoel Mosher wrote: > I use g77 with FreeBSD 4.9 and sometimes I get core dumps which I don't > want. With big programs it takes 10s of seconds to complete the dump. > I've tried recompiling without -g, but that doesn't seem to prevent the > dumps. > > Is there an easy way to prevent dumps? The best way is to fix the bug which is causing them. Since you have the core dump, use gdb to find the line of code which is causing the problem: --bud
Post Follow-up to this message"Joel Mosher" <kb6rxe@pacbell.net> wrote in message news:6lHyd.2304$wZ2.2016@newssvr13.news.prodigy.com... > I use g77 with FreeBSD 4.9 and sometimes I get core dumps which I don't > want. With big programs it takes 10s of seconds to complete the dump. > I've tried recompiling without -g, but that doesn't seem to prevent the > dumps. > > Is there an easy way to prevent dumps? So now you want to write costive code (OTOH, you've hit the jackpot in landing head first in c.l.f., whose most vocal and vacuous utter from the imprimatur of the potty while playing with their standard issue)? Like your Mom presumably taught you, you have clean up your own mess. -- You're Welcome, Gerry T. ______ "There's man all over for you, blaming on his boots the fault of his feet." -- Samuel Beckett.
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.