[comp.lang.c] CDB, cc -g and core files

jpa@hpgnd.HP.COM (Jean-Pierre ALLEGRE) (07/07/89)

I am working on a 68000 card  that runs C code. In case of failure, I can 
retrieve the whole memory of the card onto an UNIX workstation. My problem 
is now to format the data from that upload. Until now, I have written some 
procedure that fetch the variables in the upload file and display them. 
As this is hard to maintain and boring to code, I am looking into a way to 
use CDB. For that, I have 2 questions :
   - What is the format of a core file. If I could translate my upload file 
     into core format, I could directly use CDB on it.
     (Note : the code running on the card is not compiled with the -g option).
   - I have looked at the assembly generated with the -g and -S options and
     I am looking for information about the dnt_ instructions generated.
     Could I retrieve data from these instructions do generate display 
     routines?