Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!apple!motcsd!hpda!hpcuhb!hp-ses!hpbbn!hpgnd!jpa From: jpa@hpgnd.HP.COM (Jean-Pierre ALLEGRE) Newsgroups: comp.lang.c Subject: CDB, cc -g and core files Message-ID: <1790001@hpgnd.HP.COM> Date: 7 Jul 89 15:10:59 GMT Organization: Hewlett-Packard, GND Lines: 13 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?