From: stuart@nsl-too.pa.dec.com (Stephen Stuart)
Subject: Re: Is 'cc' broken or am I??
Date: 1996/11/23 [thread overview]
Message-ID: <575om8$gfu@usenet.pa.dec.com> (raw)
In-Reply-To: 32960689.7F41@fived.c3i.saic.com
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 <stdio.h>
#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
next prev parent reply other threads:[~1996-11-23 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-11-22 5:00 Is 'cc' broken or am I?? Christopher Keller
1996-11-23 5:00 ` Stephen Stuart [this message]
1996-12-02 5:00 ` Volker Hejny
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox