Xref: utzoo comp.sys.att:12205 comp.unix.programmer:1689 Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!wuarchive!udel!princeton!njsmu!mccc!pjh From: pjh@mccc.edu (Pete Holsberg) Newsgroups: comp.sys.att,comp.unix.programmer Subject: Re: sdb behavior Message-ID: <1991Apr29.000857.15510@mccc.edu> Date: 29 Apr 91 00:08:57 GMT References: <1991Apr25.201206.12430@mccc.edu> <1991Apr26.203951.24025@ceilidh.beartrack.com> Organization: The College On The Other Side Of Route One Lines: 28 In article <1991Apr26.203951.24025@ceilidh.beartrack.com> dnichols@ceilidh.beartrack.com (DoN Nichols) writes: =In article <1991Apr25.201206.12430@mccc.edu> pjh@mccc.edu (Peter J. Holsberg) writes: =>I have a program that dumps core but when I invoke sdb with the name of =>the executable, sdb says "no source file." The command line I used is =>simply "sdb program". Program was built from "cc -g -o program program.c". => =>What am I doing wrong? sdb is from AT&T's Std C Devel Environment =>5.0/3 10/13/89 for SV/386 R3.2.x. = = I beleve that you must be in the directory containing the source =files, since sdb uses them for reference while displaying the details of =your object file/core dump. I believed that, too, Don, but failed to mention in my original posting that the source file, the executable file and the core file are all in the current directory =I've not used sdb to any extent, but that is =what I remember from reading the man page for it. I see: it's a nice way of saying "RTFM"! ;-) Pete -- Prof. Peter J. Holsberg Mercer County Community College Voice: 609-586-4800 Engineering Technology, Computers and Math UUCP:...!princeton!mccc!pjh 1200 Old Trenton Road, Trenton, NJ 08690 Internet: pjh@mccc.edu Trenton Computer Festival -- 4/20-21/91