This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can you display readable RTX from within gdb?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]