Re: [cc65] Debug info question

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2001-05-23 16:09:38


	 
On Wed, May 23, 2001 at 12:48:20PM +0200, Spiro Trikaliotis wrote:
> No, VICE does not support debug infos yet. Although, I would like it to do
> so. I've startet an mail exachange with Uz on 20.1.2000 where I wanted to
> negotiate exactly if CC65 supports (or will support in the future) these
> infos, and Uz said that it does not and most probably will not.

At that time I wrote that having source level debugging information is rather
difficult with the current compiler, since it does not have an abstract
intermediate code, so the optimizer would mess up the debug infos. I've used
the last two weeks to rewrite the compiler backend, so this argument is no
longer valid.

Regarding the debug info format: I've searched the web for more information on
the AD2500 and WD formats and found some interesting links. One is NoICE, a
shareware remote debugger that supports lots of different compilers:

        http://www.noicedebugger.com/

It is interesting to note that almost *any* compiler for embedded systems out
there supports it's own debug information format. See

        http://www.noicedebugger.com/tools.html

This is what they say about COFF: "Unfortunately, there is not real standard
for COFF: every compiler and assembler seems to produce a slightly different
format."

There seems to be a file format named IEEE-695 which is very well supported by
NoICE and "IEEE" sounds very standard:-) So I will have a closer look at it.
There are several IEEE-695 resources listed on

        http://www.eskimo.com/~dalus/ieee-695.html

Among other things, they mention that the GNU binutils come with a library to
read and parse this format - this should be helpful for VICE since VICE is
also GPL licensed and may therefore use other GPL code without problems.

Regards


        Uz


--
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:40 CET