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 <[email protected]>:
> There is a patch 4aec2902cabb819e24850c80ddb364b7b4308b7b
> Author: Thomas Preud'homme <[email protected]>
> 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, ...
>

Attachment: 2015-01-05-1-tccelf-debug.patch
Description: Binary data

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to