Xref: utzoo comp.unix.questions:18921 comp.unix.xenix:9391 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uwm.edu!psuvax1!husc6!m2c!umvlsi!umaecs!satam From: satam@ecs.umass.edu (Kirtikumar Satam) Newsgroups: comp.unix.questions,comp.unix.xenix Subject: Re: Who uses 'adb' debugger? ( Debugger in general ) Message-ID: <8868.25ab14cb@ecs.umass.edu> Date: 10 Jan 90 10:56:11 GMT References: <107@melpar.UUCP> <1990Jan7.020128.9362@aob.aob.mn.org> <1990Jan7.195850.26785@eddie.mit.edu> <50200@bu.edu.bu.edu> Followup-To: comp.unix.questions Lines: 45 In article <50200@bu.edu.bu.edu>, clement@buengf.bu.edu (Clement Lee) writes: > Sorry to ask the following, but I need to know the differences > between (I am a beginner on Unix and C): > > + adb > + cdb > + sdb > + gdb (if you have it; from GNU) > > Can anyone tell me or make a list about their uses and their > differences? > > Thanks in advance. > > - Clement. > > -- > Internet, CSNET: clement%buengf.bu.edu@bu-cs.bu.edu > UUCP: ...!{harvard,mit-eddie}!bu-cs!buengf.bu.edu!clement I can't claim myself to be an expert but working for while on SCO XENIX 2.3 and ULTRIX, I think I can contribute a little. On Xenix both adb and sdb are available. adb doesn't allow working with source code. As I was totally ignorant about 80386 assembly, I found sdb, the source-level debugger, much more useful. Espacially, while printing out big structures, unions and lotsa pointers. It had a very good steping and break-pointing, but watch-points and trace functions were extremely slow and use to nearly bring down the system. The 'dbx' on ULTRIX is also a good debugger, but lacks the sophistication of 'sdb' on SCO. It's really pain to get structures and union value dumps. "gdb", I suppose is just an enhancement on 'dbx' and thus, carries some of the short-comings of it. I would also like to know about 'cdb' etc and how these debuggers fare in contrast to PC debuggers like codeview and turbo debugger. -satam (~guru). ------------------------------------------------------------------------ Kirtikumar "Mumbaichaa" Satam INTERNET : satam@ecs.umass.edu BITNET : satam@umaecs.bitnet 217 Northwood Apts, Sunderland, MA 01375 Tel# 413-665-3222 ------------------------------------------------------------------------