tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] Your revert of a gdb-helping patch breaks gdb


From: Sergey Korshunoff
Subject: Re: [Tinycc-devel] Your revert of a gdb-helping patch breaks gdb
Date: Mon, 9 Mar 2015 19:19:56 +0300

Test: debugging programs compiled with the current tcc in x86 systems
(centos6, gentoo). Debuggers: gdb 6.6 and 7.3. All works OK

> This is not correct.  Before grischkas patch, and now, after your revert, gdb 
> does _not_ work > correctly:

This is not true for the x86 systems. But yes: for x86_64 systems a
revert is needed. gdb in x86_64 systems (with current tcc) fails with
the same message as in the x86 (with the patch reverted).

> home/matz/hello.c:
> <undefined> main ()
> { /* 0x0 */
>   /* file /home/matz/hello.c line 5 addr 0x0 */
>   /* file /home/matz/hello.c line 5 addr 0xb */
>   /* file /home/matz/hello.c line 6 addr 0xb */
>   /* file /home/matz/hello.c line 7 addr 0x1f */
>} /* 0x2b *

<undefined> main () is displayed in all cases (for me). But gdb works
(x86 system with the current tcc)

> % objcopy -R .rela.stabs input output

This don't help.



reply via email to

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