Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news-peer.gsl.net!news.gsl.net!hammer.uoregon.edu!news.uoregon.edu!waikato!status.gen.nz!pinnacle.co.nz!not-for-mail From: jonc@pinnacle.co.nz (Jonathan Chen) Newsgroups: comp.unix.programmer,comp.unix.bsd.bsdi.misc Subject: Re: How to debug C programs Date: 26 Oct 1996 14:27:27 +1300 Organization: Pinnacle Software Ltd, Auckland, New Zealand Lines: 16 Message-ID: <54rpdv$11a@kiwi.pinnacle.co.nz> References: <54plmi$rce@hoho.quake.net> NNTP-Posting-Host: kiwi.pinnacle.co.nz X-Newsreader: NN version 6.5.0 (NOV) Xref: euryale.cc.adfa.oz.au comp.unix.programmer:45360 comp.unix.bsd.bsdi.misc:5192 In <54plmi$rce@hoho.quake.net> ian@idk.com (Ian Kettleborough) writes: >C is not new to me, have used it for years in a PC (DOS) >envirmonent. There are great debuggers there when things don't go >quite right. How and what does one use on BSDI to debug a C program >other than a lot of printf's!! > >Any help will be appreciated.. man sdb man dbx man gdb -- Jonathan Chen <jonc@pinnacle.co.nz> ----- char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}