From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079341819466.tru64-unix-managers.marc@archive.invalid> From: Claude Scarpelli Date: Fri, 10 Mar 2000 17:37:05 +0000 To: tru64-unix-managers Subject: SUMMARY: can't do minimal debugging without -g X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079341819466 In a mail dated March 1, Claude Scarpelli 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)