Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!dsac.dla.mil!dsacg3.dsac.dla.mil!nts0302 From: nts0302@dsacg3.dsac.dla.mil (Bob Fisher) Newsgroups: comp.lang.c Subject: Re: Problem with dbx Message-ID: <2655@dsacg3.dsac.dla.mil> Date: 25 Oct 90 11:54:10 GMT References: <942@babcock.cerc.wvu.wvnet.edu> Organization: Defense Logistics Agency Systems Automation Center, Columbus Lines: 23 From article <942@babcock.cerc.wvu.wvnet.edu>, by vrm@cathedral.cerc.wvu.wvnet.edu (Vasile R. Montan): } } The problem is that sometimes I want to trace through his code, but } dbx insists on using the sources in the develop directory. I have } tried the 'file' command to tell it to look in at the source in the } release directory, but dbx responds with: } warning: File `release/src/filename.c' has not been compiled with the -g option } It then continues to use the source in the develop directory. } } Is there a way to tell dbx to use the file anyway. Our implementation of dbx uses a "-I dir_name" to add a pathname to the list of directories that dbx searches to find source files. I don't know if this is what you mean by the "file command". Since the code you are borrowing is still under development, ask your friend to compile it with the -g option like the message says. -- Bob Fisher US Defense Logistics Agency Systems Automation Center DSAC-TOL, Box 1605, Columbus, OH 43216-5002 614-238-9071 (AV 850-9071) bfisher@dsac.dla.mil osu-cis!dsacg1!bfisher