question on stabs option being disabled with ia64
Robert K Gjertsen <[email protected]> writes:
|> I was wondering if someone could provide some insight on why |> the stabs support for ia64 was disabled in gcc 3.1.
Stabs do not support 64 bit, see
<http://gcc.gnu.org/ml/gcc-patches/2001-11/msg01789.html>.
Andreas.
Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected] SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
Stabs has fixed size 32-bit fields. This makes it impossible to express 64-bit addresses unless you change the format, or do something tricky. If you change the format, you aren't really emitting stabs anymore. All tools would have to be modified to recognize the new format. That is a
problem we don't really want to deal with. DWARF2 doesn't have this problem,
and is a better long term choice for other reasons too.
Jim
This is a multipart message in MIME format.
--=_alternative 00528CE486256CEC_Content-Type: text/plain; charset="us-ascii"
I was wondering if someone could provide some insight on why the stabs support for ia64 was disabled in gcc 3.1.
My understanding is that DWARF2 is the default debugging format on ia64-linux,
yet it was once possible to configure ia64 gcc to use stabs instead of DWARF2, and it's still possible to use stabs on i686-linux and powerpc64-linux.
This is motived by my interest in LKCD, which depends on stabs. I'm trying to determine whether it will take more work to fix ia64 gcc or make LKCD use DWARF2 with ia64 (for lcrash) and would appreciate any pointers.
KDB is fine for in-house debugging, but it isn't the preferred method on customer systems.
Thanks,
--Rob
--=_alternative 00528CE486256CEC_Content-Type: text/html; charset="us-ascii"
<br><font size=2 face="Courier New">I was wondering if someone could provide some insight on why</font> <br><font size=2 face="Courier New">the stabs support for ia64 was disabled in gcc 3.1.</font> <br><font size=2 face="Courier New">My understanding is that DWARF2 is the default debugging format on ia64-linux,</font> <br><font size=2 face="Courier New">yet it was once possible to configure ia64 gcc to use stabs instead of</font> <br><font size=2 face="Courier New">DWARF2, and it's still possible to use stabs on i686-linux and powerpc64-linux.</font> <br>
<br><font size=2 face="Courier New">This is motived by my interest in LKCD, which depends on stabs.</font> <br><font size=2 face="Courier New">I'm trying to determine whether it will take more work to fix ia64 gcc</font> <br><font size=2 face="Courier New">or make LKCD use DWARF2 with ia64 (for lcrash) and would appreciate any</font> <br><font size=2 face="Courier New">pointers.</font>
<br><font size=2 face="Courier New">KDB is fine for in-house debugging, but it isn't the preferred method on</font> <br><font size=2 face="Courier New">customer systems.</font>
<br>
<br><font size=2 face="Courier New">Thanks,</font>
<br>
<br><font size=2 face="Courier New">--Rob</font>
--=_alternative 00528CE486256CEC_=--