* SUMMARY: can't do minimal debugging without -g
@ 2000-03-10 17:37 Claude Scarpelli
0 siblings, 0 replies; only message in thread
From: Claude Scarpelli @ 2000-03-10 17:37 UTC (permalink / raw)
To: tru64-unix-managers
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1569 bytes --]
In a mail dated March 1, Claude Scarpelli <claude@genoscope.cns.fr> wrote:
>
> I'd like to do some minimal debugging on a program compiled without -g
> option that cores dump.
>
> This is something I'm unable to do on Tru64 (dbx or ladebug), while I
> used to do this on Solaris.
[ full message available at
http://www.xray.mpe.mpg.de/mailing-lists/tru64-unix-managers/2000-03/msg00010.html
]
I received only one answer, from Joe Mario (Compaq). We exchange some
email, but unfortunately, this does not lead to a complete solution
under the following conditions:
1) code has not been compiled with -g
2) you are analyzing a post-mortem core dump
It is strange that dbx or ladebug are unable to correctly report at
least the function arguments values. This is definitely something that
is available on other OS (under the 2 conditions above).
May be I'm lacking information on the calling conventions used on
Tru64. Unfortunately, nobody points me to the direction of a
documentation on the subject. Feel free to do this !
Actually, I don't understand the output of the printregs command of
ladebug, since it appears that the registers' values don't change when
moving from frames to frames (up and down command), except for $sp and
$pc.
--
------------------------------------------------------------------------------
Claude Scarpelli | Defenestrate: to exit a window
Centre National de S�quen�age - GENOSCOPE | onscreen. (Time International
2, rue Gaston Cr�mieux, F-91000 EVRY FRANCE | Vol 146, No. 20, Nov 13, 1995)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-03-10 17:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-10 17:37 SUMMARY: can't do minimal debugging without -g Claude Scarpelli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox