From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bb95e6d4ce634faf,start X-Google-Attributes: gid103376,public From: escheria@my-dejanews.com Subject: Re: Using the SDS SingleStep Debugging Suite for Ada??? Date: 1998/10/09 Message-ID: <6vlf4t$qd1$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 399382706 X-Http-Proxy: 1.0 x13.dejanews.com:80 (Squid/1.1.22) for client 208.203.116.2 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Fri Oct 09 16:54:53 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT) Date: 1998-10-09T00:00:00+00:00 List-Id: >><>with the Rational Ada compiler. The SingleStep debugger is intended only for C, >>C++, and Assembly code, however I'm presently able to get it to work for Ada >>with limited capabilities. Specifically, I can step, set breakpoints, step >>into/over, but I cannot perform data operations (Read, Evaluate/Modify, etc.). >>It doesn't seem to have the data necessary to see global and local variables. >> >>Has anyone else tried this? Any ideas on what specific data (and the required >>format) I might be able to provide to SingleStep? >> >> >>I don't know this particular tool, but if it works for C, then presumably >>it uses the standard system debugging formats. >> >>An advantage of the GNAT debugging approach is that it is easy to interface with >> >>such tools. GNAT generates output in standard system debugging format, together >>with encodings that fully describe Ada structures not directly descriabable in C. >>These encodings can be used in two ways >> >>a) an Ada aware debugger like GNAT or SGI Workshop can use these debuggers to >>provide full access to all Ada data structures in a transparent manner. >> >>b) a standard C debugger can be used for displaying data that corresponds >>to C formats (e.g. simple data, simple records, simple arrays etc). >>Furthermore, since the encodings use standard C interfaces (e.g. they are >>encoded type names). Using the full documentation of the encoding (it is in >>the file exp_dbug.ads) a user can use these encodings to extract more detailed >>informatoin manually. Can GNAT be used as an intermediaye between the output of the Rational Ada compiler and the input to the SDS Single Step On Chip Debugger? -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own