This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [RFC] Improve stabs debugging for mingw64 executables loaded at high addresses
- From: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- To: "'Tristan Gingold'" <gingold at adacore dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Tue, 14 Sep 2010 17:24:20 +0200
- Subject: RE: [RFC] Improve stabs debugging for mingw64 executables loaded at high addresses
- References: <000701cb541e$1160cde0$342269a0$@muller@ics-cnrs.unistra.fr> <282E4D5B-2863-4CC2-99EE-76A36BDE8A9F@adacore.com>
> > Comments welcome,
>
> I think that some 64 bits targets have 8 bytes for the address.
Of course, dwarf debugging doesn't suffer from this limitation,
and uses 8-byte for addresses.
This is the default format for most 64-bit targets,
and it is the preferred debugging format for 64-bit
because of this 4-byte limitation of stabs...
So this is really a marginal case that I presented here.
The thing is that, for Free Pascal, we have lots of
troubles with DWARF (and some 64-bit specific),
thus I would like to be able to use STABS format (which
is less troublesome) but that also didn't work
because of this high address default base used by this compiler.
Pierre