GDB - lets make D support awesome

Jerry jlquinn at optonline.net
Wed Nov 27 14:27:21 PST 2013


Iain Buclaw <ibuclaw at gdcproject.org> writes:

> On 27 November 2013 20:17, Jerry <jlquinn at optonline.net> wrote:
>> Hi Ian,  Here's a first bug.
>>
>>  I'm on Ubuntu 12.10 x86_64.  Debugging isn't stepping through the code.
>> Here's a simple example.  This is with dmd 2.064.2 and a fresh clone of
>> your git repo.
>>
>> junk2.d:
>> import std.stdio;
>>
>> void main(string args[]) {
>>     string ss = "hi there";
>>     writeln(ss);
>> }
>>
>
> Hi Jerry,
>
> I believe dmd is only compatible with gdb 7.5.  Likewise gdc-4.7 is
> compatible with 7.5, but not 7.6 (you should use gdc-4.8 or the
> development branch if you want gdb to work properly).
>
> For dmd, someone needs to fix dmd to work with gdb-7.6.

FWIW, I had the same problem with gdb 7.5 installed on my system.  I'll
build gdc-4.8 and see how I do.

Thanks


More information about the Digitalmars-d mailing list