This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Is there a helper function like "print_rtx_to_stdout" ?
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <bjoern dot m dot haase at web dot de>,"'Mike Stump'" <mrs at apple dot com>
- Cc: <gcc at gnu dot org>
- Date: Fri, 6 May 2005 12:08:56 +0100
- Subject: RE: Is there a helper function like "print_rtx_to_stdout" ?
----Original Message----
>From: bjoern.m.haase@web.de
>Sent: 06 May 2005 12:06
> Best thanks for your fast reply!
>
Glad to help! :)
> ... did not know that gdb has support for printing RTX. *VERY* useful
> feature (and much better than temporary including debugging printout
> commands in the compiler itself :-) ).
>
> Yours,
>
> Björn
FYI, the gdb commands Mike referred you to in gcc/gdbinit.in work by
causing gdb to call the functions I referred you to in print-rtl.c in the
debugged (inferior) gcc at runtime.
cheers,
DaveK
--
Can't think of a witty .sigline today....