tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] [PATCH] Re: using gdb 6.6 on linux fail after dec18 2


From: Sergey Korshunoff
Subject: Re: [Tinycc-devel] [PATCH] Re: using gdb 6.6 on linux fail after dec18 2013
Date: Sun, 4 Jan 2015 08:58:26 +0300

After a previous patch applied...
Bug: a line number declaration (# NUM xxx "file_name") is not used
when generating a debug info. A test case: precompile your project
files with tcc and then use a precompiled files to get an executable
with a debug info included. This info will be wrong. A gcc works rigth
in this case.


2015-01-04 8:10 GMT+03:00, Sergey Korshunoff <address@hidden>:
> Return back a grischka patch which lost after
> "Split elf_output_file in smaller functions"
>
> Author: grischka <grischka>
> Date:   Tue Feb 5 21:18:29 2013 +0100
> tccelf: fix debug section relocation
> With:
>        tcc -g hello.c
>        gdb a.out
>          b main
> gdb refused to know "main" because of broken dwarf info.
>
> 2015-01-03 22:03 GMT+03:00, Sergey Korshunoff <address@hidden>:
>> There is a patch 4aec2902cabb819e24850c80ddb364b7b4308b7b
>> Author: Thomas Preud'homme <address@hidden>
>> Date:   Wed Dec 18 11:17:17 2013 +0800
>> Split elf_output_file in smaller functions
>>
>> After this patch a usage of the gdb 6.6 on Linux is not possible (gdb
>> can not find a main proc for setting a breakpoint). Which debuger you
>> on LInux to debug a programs compiled by tcc?
>>
>> PS: I don't have problems with debugging a programs which are compiled
>> by gcc 4.1.2, 3.4.6, ...
>>
>



reply via email to

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