[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
Re: [Tinycc-devel] [PATCH] Re: using gdb 6.6 on linux fail after dec18 2013
Sun, 04 Jan 2015 13:36:24 +0000
KMail/4.14.1 (Linux/2.6.38-ac2-ac100; KDE/4.14.2; armv7l; ; )
Le dimanche 4 janvier 2015, 08:10:40 Sergey Korshunoff a écrit :
> 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
> tcc -g hello.c
> gdb a.out
> b main
> gdb refused to know "main" because of broken dwarf info.
I don't understand. The commit you mention
(92024ab07ad8e1c4a05f90add3d3ca7932251016) contains the exact opposite patch.
Also the patch I wrote to split elf_output_file in several functions didn't
change this line. I quote the rest of the commit message:
"This partially reverts commit 0d598aca087e46ea67f97dda50df3eed522d5e7a.
I don't remember what the problem was but it was the wrong way to fix it."
So before we revert the revert it would be nice to have an explanation of why
this is necessary. By this I mean an analysis of what's happening, not just
"it works after I revert".