SUMMARY: can't do minimal debugging without -g

From: Claude Scarpelli <claude_at_genoscope.cns.fr>
Date: Fri, 10 Mar 2000 18:37:05 +0100

In a mail dated March 1, Claude Scarpelli <claude_at_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)
Received on Fri Mar 10 2000 - 17:38:11 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT