X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Message-ID: <55948ABD.8090707@iki.fi> Date: Thu, 02 Jul 2015 03:50:05 +0300 From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp AT delorie DOT com]" User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:34.0) Gecko/20100101 Thunderbird/34.0 MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: gdb 7.0 and coff debug format failing. References: <5591A7A2 DOT 70505 AT gmx DOT de> <95c7ca20-6371-403a-a3dd-99ef7c081785 AT googlegroups DOT com> <83mvzh2lnu DOT fsf AT gnu DOT org> <2e24b1c9-cff4-4154-9ad2-dc4bbe4d3ec6 AT googlegroups DOT com> <83egkt2ilw DOT fsf AT gnu DOT org> <55946256 DOT 4090804 AT gmx DOT de> In-Reply-To: <55946256.4090804@gmx.de> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com On 2.7.2015 0:57, Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de) [via djgpp AT delorie DOT com] wrote: > Am 30.06.2015 19:47, schrieb Eli Zaretskii (eliz AT gnu DOT org): >>> Date: Tue, 30 Jun 2015 10:11:44 -0700 (PDT) >>> From: "Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de)" >>> >>> Can you tell me what binutils you are using? I do not know if it is >>> of any importance but we can try some older version that bnu22b. >> >> I have Binutils 2.19 here. > > OFYI, I have recompiled gdb771 using gcc510, bnu225br2 and djdev205. > Then I have compiled the following test program using gcc346b, bnu225br2 > and djdev205: > > -------------------- b.c start -------------------- > -------------------- b.c end -------------------- > > -------------------- a.c start -------------------- > -------------------- a.c end -------------------- > > -------------------- gdb.txt start -------------------- > b main > b 16 > b 7 > b b.c : 6 > r > info source > -------------------- gdb.txt end -------------------- > > I am still not able to step into certain functions. Specially if the > functions > are defined in different files. I was able to step from main into print(). > But I was not able to step from inside print() into do_print(). Please > note > that the argument of do_print is the function allocate_string() defined > in b.c. > > But if I write a control file for gdb like gdb.txt then it becomes > possible to > stop in every function no matter in which file it is defined. This may > be a > little bit cumbersome but it seems to work. I know that this is > certainly not > a "complex" program but I think that it demonstrates that a combination > of gcc346b, > bnu225br2, gdb771b (to be recompiled with djdev205) and djdev205 may be > usefull > to continue developing emacs. Of course, in the end it must really be > tried by > compiling emacs. Anything else will never give a definitive answer to > this issue. I tried also my year 2009 build of gdb-6.8 (never uploaded to ftp.delorie.com but most likely source of snapshot build Eli is using) It behaves in exactly same way. So current problems is not a regression since that time. I do not think that we can fix these problems without considerable work. Andris PS. My old build is still at http://ap1.pp.fi/djgpp/gdb/6.8/ and I gave this link sometimes to Eli (http://www.delorie.com/djgpp//mail-archives/browse.cgi?p=djgpp/2009/05/03/03:21:46)