From: Stephen Leake <Stephen.Leake@gsfc.nasa.gov>
Subject: Re: Two GNAT questions
Date: 1997/11/14
Date: 1997-11-14T00:00:00+00:00 [thread overview]
Message-ID: <346C861A.7299@gsfc.nasa.gov> (raw)
In-Reply-To: 64fska$a8q$1@ultranews.duc.auburn.edu
John M. Greer wrote:
>
> Question 1: Exception traceback
>
> I think somewhere I saw an example of how GNAT was able to trace
> exceptions back and report the line in which they were raised. I looked
> in the online manual and everywhere else I could think of, but was unable
> to find that feature. Could someone point me in the right direction?
run your executable under gdb (the gnu debugger), set a break on
'__gnat_raise'. then use the gdb 'where' command. See the gnat user
guide topic "using gdb".
> Question 2: Is there any way to find/display the parameters of your
> current GNAT installation? Basically, I need to find every directory
> GNAT accesses on my machine (Linux ELF). (In case you're wondering, I
> want to compile via NFS, where the NFS'd machine is not sharing my path,
> and my root is not his root. Yeah, it's a lot of trouble, but he's out
> of hard drive space. :-)
You can try running gnatmake with "-v" and "-gnatv"; see the gnat user
guide for more switches that output useful information.
>
> John Greer
> greerjo@mail.auburn.edu
--
- Stephe
next prev parent reply other threads:[~1997-11-14 0:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-11-13 0:00 Two GNAT questions John M. Greer
1997-11-14 0:00 ` Stephen Leake [this message]
1997-11-16 0:00 ` Robert Dewar
1997-11-18 0:00 ` Stephen Leake
1997-11-18 0:00 ` Robert Dewar
1997-11-18 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox