[M3devel] m3gdb build on AMD64_FREEBSD
Rodney M. Bates
rodney_bates at lcwb.coop
Wed Feb 3 20:08:05 CET 2010
Jay K wrote:
> I haven't looked but maybe we need a newer gdb?
If you mean stock gdb, you can use the latest available.
If you mean an m3gdb derived from a later gdb, that has
been on my list for a while. Maybe when gdb 7.1 is out
(very soon) and I am through moving house and get my old
one sold (who knows?)
Having done this, I think three times, I can say it will
be quit a bit of work, and it looks like there are more/bigger
changes to gdb than ever before, especially reverse debugging,
which would be really nice.
> Personally I wish we could output enough information
> so that regular gdb could work better...
There is very little room for improvement in just changing/
expanding the debug output produced by the compiler. To
get much of anything at all would involve changing the
debug info format from stabs (very old, cobbled up, and
limited) to dwarf-2 (apparently the best now in use).
I am even prepared for the possibility that the latest
gdb will have dropped stabs altogether.
This is also a big job. I have been thinking about it
for a long time. But it still can't do all that much
using stock gdb.
> Also we shouldn't bother mangling acceptable identifiers when
> there is no clash..
Having separate compilation, there are many cases where it would
be impossible for the compiler to know whether there are clashes
or not. Also, I'm not sure how feasible it would be to remove
the uid portion from mangled variable names, given Modula-3's
structural type rules. Maybe dwarf-2 would allow it to work.
>
> - Jay
>
> > Date: Wed, 3 Feb 2010 09:59:45 +0100
> > From: wagner at elegosoft.com
> > To: m3devel at elegosoft.com
> > Subject: [M3devel] m3gdb build on AMD64_FREEBSD
> >
> > Any chance to make m3gdb build on 64 bit FreeBSD?
> > This is the only package that's still failing on that platform:
> >
> >
> >
> http://hudson.modula3.com:8080/job/cm3-test-all-pkgs-AMD64_FREEBSD/15/consoleText
> >
> > (search for m3gdb in the listing)
> >
> > A quick look doesn't really enlighten me as to what is wrong...
> >
> > Olaf
> > --
> > Olaf Wagner -- elego Software Solutions GmbH
> > Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
> > phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45
> 86 95
> > http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
> > Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr:
> DE163214194
> >
More information about the M3devel
mailing list