tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Windows debugger which understands tcc generated debu


From: Michael Matz
Subject: Re: [Tinycc-devel] Windows debugger which understands tcc generated debug symbols?
Date: Sat, 19 Dec 2015 22:51:58 +0100 (CET)
User-agent: Alpine 2.20 (LSU 67 2015-01-07)

Hi,

On Sat, 19 Dec 2015, Jeremy Kvurr wrote:

Hello. I know about the existance of the -g option in the tcc, but I don't
know how to enable a source-level debugging using this debug info. I tried
to run the tcc-generated program with winedbg, but he hasn't recognised the
symbols it seems. And I want to know where this debugging info is placed in
the exe, and what format does it use.

It uses the stabs debugging format. But only a very restricted subset, namely only line information (i.e. filenames, include hierarchy, function names, source line numbers). The info is in the .stab and .stabstr sections. gdb is able to interpret this debug format, I don't know other windows debuggers.


Ciao,
Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]