X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Message-ID: <5723FA0D.8030709@gmx.de> Date: Sat, 30 Apr 2016 02:19:25 +0200 From: "Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp AT delorie DOT com]" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.13) Gecko/20101206 SUSE/3.1.7 Thunderbird/3.1.7 MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: GCC 3.4.6 -gcoff produces executable without line number info References: <83bn4uxben DOT fsf AT gnu DOT org> <837ffix9o7 DOT fsf AT gnu DOT org> <5722455F DOT 3020906 AT gmx DOT de> <831t5py22r DOT fsf AT gnu DOT org> <57228FEC DOT 9080408 AT gmx DOT de> <83oa8sx19b DOT fsf AT gnu DOT org> <5723B974 DOT 3010800 AT gmx DOT de> <83wpnguqj5 DOT fsf AT gnu DOT org> In-Reply-To: <83wpnguqj5.fsf@gnu.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:4ZLiMsiNTcdW9cnqHyN0JWUCuLbzSgCtTKTID/dsBsc/yL3ICMn DkL33iYYZogyHfQCKyHX+/dBjGqaUxZuyb6/kER+AFsNedovhmnp3ayZVtn2Oml8oPAMEY4 K/mQEnN9VcsJG1jdqFuJ6F0h1M9Th7lz8Z1jMBd91UJMu+IOfIjwgBvgS670ZnpyLlSQt0C IEYrZm39Z6pe1n5r0njhg== X-UI-Out-Filterresults: notjunk:1;V01:K0:Xv5dqF12fqo=:yt26Hik+kaO2r2jVOaObpT fmgdiyyv7jBs8Fu3aUv6piyx64oHrcTzQRuBrl6rb3ncXS7thpaZzCYDWRRUKPP6BXD+txbWg wa67q+8pvRjFvZCqqY9LYB75bXPPPHacB+wxVCrF2CYXIDCxGm32zIzUhISeTTksl3fYXn+Vp rAQI8G9bgkAiFlF63KRUm9BF2wfRQBp3E0749CRNlSo0wlLby5MVG+pDwmK9VuuuZV1VXnYx4 m5+XUHOiNg7IoEB0j8gQTSCqF0r+KoUSg62+BwcA6CHNNMa9BJi5OaEpPRKEQrMoQuSjX79Kr kP0K342yU/mIs/s+JZvImXwrhQL6Z0qUhmS3YujUw6OJxzEDtxJSpeFAY6tWX6L0pEYOz2LRj 0/IsgqiI7nw77eHOjSYr4RMQAvlaCCIrpdqHZhp0Hj984vFoI8Tn7TuwijipgF+sC+Le6nB3A dygXec81Zs36sxc5aiKsFgmlice3dkl/A+M3WdN/+2226MFRP75XdAMe1Wwri4Xv9yW1YrToa i2fqTD5nLF5QurE8QD3vPpg9deY75RkJ1Ey4sBR+Te6Vt1jZ3KkObG0Zn6eNTSe2tJ7oQbziB BuNtQrrYhcJi9h9nMX4kygY5r86xZKnQwKR6WrrCq6RFiRiDHAc6yK6PWac36FExeaOlCaMXt RgW+N79mmIZTLJkel5VID4sAnPCLlQykZ+h7r14Gk/AMkLDI4tREZ/szJb2cbFR0/LxsAccaQ kFaCO9OsMBiaqzw/l/0Ahg4v1U5GJ9/izPe3qDGNES6VwDtuhjflCQdKT8dh3PR0y7g9bsl3z djgmmNT Reply-To: djgpp AT delorie DOT com Am 29.04.2016 22:08, schrieb Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com]: >> Date: Fri, 29 Apr 2016 21:43:48 +0200 >> From: "Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp AT delorie DOT com]" >> >> > OK, thanks for this information. I can only add that 6.9 seems to be >> > OK as well -- as long as Binutils 2.26r3 are used. Perhaps we could >> > have v2.05 compiled GDB 6.9 on DJGPP sites? >> >> Yes, of course, if you make it available. I have looked at ftp://ftp.fu-berlin.de/gnu/gdb/ >> and I have only found: >> gdb-6.8a.tar.bz2 >> gdb-7.0a.tar.bz2 >> I do not understand the denomination. Shall the "a" mean it is alpha? I have >> have not tried any of them. It seems to be that the GDB 6.N.N serie still >> supports COFF debug info and that the GDB 7.N.N have dropt them at some point. > > I have no idea what these "a" mean. > > I have gdb-6.8.tar.bz2 and gdb-7.0.tar.bz2. I guess I was wrong, and > the pretest I've been using eventually became GDB 7.0, not 6.9 (the > time stamps of the two archives are just 1 month apart). So I think > GDB 7.0 should be OK. > > Let me know if you need me to upload these 2 archives somewhere. > > Thanks. > > P.S. On the Emacs front, it turns out the problem with invoking > programs is due to some difference between v2.05 and v2.03, because an > older version of Emacs built with v2.05 acquired the same disease. > I'm still investigating this tricky problem. OK, I have to correct one of my previous statements. The last DJGPP port of GDB that still offers COFF debug support to an extent that can be considered as usefull is gdb72br3 and can be downloaded as: http://www.delorie.com/pub/djgpp/deleted/beta/v2gnu/gdb72br3.zip Any later version like gdb73b is completely broken as has already been shown in some previous mail. It is possible to set breakpoints, but it is not possible to step into functions that belong to other object files than the object file that is under inspection. This means where the program counter currently points to. E.g.: in my test program you cannot step from the main function into function1 because this function is defined in function1.c and not in main.c. To step into function1 you have to set a breakpoint like this: b function1 Then no matter if you use the "s" or the "n" command you end at the beginning of function1. Inside function1 you can normaly step into copy_strings because this function is also defined inside function1.c. This port is still available and should be considered as the last DJGPP port of GDB that supports COFF debug info to certain extent to be still of some use. I have found in my backup DVDs a port of GDB 7.0 I have produced in Juni 2015 and that I have never uploaded for some reason that I do not remember anymore. That port behaves identical to gdb72br3. If you think that your GDB archive is better than gdb72br3 or my port of GDB 7.0, please let me know and I will download it and produce a new port. Regards, Juan M. Guerrero