This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Can you display readable RTX from within gdb?
- From: Alan Lehotsky <apl at alum dot mit dot edu>
- To: "Tom Womack" <tom at womack dot net>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Mon, 18 Mar 2002 07:50:16 -0500
- Subject: Re: Can you display readable RTX from within gdb?
- References: <001a01c1ce5b$1801c700$5637f380@maths.nottingham.ac.uk>
At 3:10 PM +0000 3/17/02, Tom Womack wrote:
>I'm sure I've seen some instructions about getting more context for ICEs by
>using gdb on the c++ executables, but they don't appear to be in
>info:/gccint.
>
Look at the .gdbint file in the distribution. It defines a number of useful commands
for printing trees, RTX's and even chains of INSNS. It also uses a function that helps
to locate a particular INSN (by its UID).
It does seem a good suggestion to document some of this in gccint.info, it was years before I
knew about the debug_reload() dumping function - and that's incredibly useful for chasing down
reload problems!
-- Al Lehotsky
--
------------------------------------------------------------------------
Quality Software Management
http://home.earthlink.net/~qsmgmt
apl@alum.mit.edu
(978)287-0435 Voice
(978)808-6836 Cell
(978)287-0436 Fax
Software Process Improvement and Management Consulting
Language Design and Compiler Implementation