From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,29348ba08699ff7d X-Google-Attributes: gidfee84,public From: stuart@nsl-too.pa.dec.com (Stephen Stuart) Subject: Re: Is 'cc' broken or am I?? Date: 1996/11/23 Message-ID: <575om8$gfu@usenet.pa.dec.com>#1/1 X-Deja-AN: 198184102 references: <32960689.7F41@fived.c3i.saic.com> organization: Digital Equipment Corporation, Palo Alto, CA, USA newsgroups: comp.unix.osf.osf1 Christopher Keller (ckeller@fived.c3i.saic.com) wrote: : Apparently, if your final : executable resides in a different location then the source, gdb is : unable to bring up the source code during debugging sessions. : [...] Have I missed some kind of flag?? gdb has a -d flag ("man gdb") to specify additional source code directories on the command line; within gdb, the "directory" command ("help files" will tell you all the commands useful for dealing with files) manipulates the list of directories that are searched for source code. : Eventually, I plan to use gcc, but right now I am trying to : enjoy using the taso and xtaso flags with the regular c compiler. Don't forget to do the: #pragma pointer_size save #pragma pointer_size long #include #pragma pointer_size restore around system-supplied header files. Reading Craig Neth's advice on "the perils of 32-bit mode" is advised: use AltaVista to search the news for: +pragma +xtaso if you can't find the article on your server. Stephen -- - ----- Stephen Stuart stuart@pa.dec.com Network Systems Laboratory Digital Equipment Corporation