Mail Archives: djgpp/2015/06/30/06:53:34
On 26.6.2015 16:36, Eli Zaretskii (eliz AT gnu DOT org) wrote:
>> Date: Fri, 26 Jun 2015 12:53:05 +0300
>> From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi)" <djgpp AT delorie DOT com>
>>
>> On 26.6.2015 13:26, Eli Zaretskii (eliz AT gnu DOT org) wrote:
>>>
>>>> Which version to choose for that? Any thoughts?
>>>
>>> All I know is that GDB 6.9 I'm using (which I built myself long ago)
>>> is still able to to debug Emacs compiled with GCC 3.4.4.
>>>
>> I do not see gdb-6.9 on ftp.gnu.org (only 6.8a and the next is 7.0a).
>> The same about sources.redhat.com. So I guess that You have 6.8
>
> You are right. What I have is a snapshot of 7.0, named 6.8.50, from
> April 2009. So I think 7.0 is the version I'd like to see.
>
> Sorry for confusion.
>
Did some testing with different GDB versions and gcc-3.4.4 and
gcc-3.4.6. Compiled mktime test example from other mail
gcc -gcoff mktime_test.c -o mktime_test.exe
Seems that debugging works OK with official DJGPP gdb-7.7.1 and gdb-7.6
for COFF debugging info at least for small test executable.
gdb-7.9.1 however crashes with SIGABRT. Maybe we do not need gdb-7.0 at
all and some more recent version could be OK.
Of course all my tests were on small test example only.
Andris
- Raw text -