This is the mail archive of the gcc-patches@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: [PATCH] Debugging dump support for gengtype and some cleanups


Laurynas Biveinis wrote:
[Reposting without sample debugging output attached, which made the
previous attempt to send it silently rejected]

This adds a new command line option -d for gengtype that makes it to
dump (in an ad hoc format) its internal data structures to stdout. It
is useful in finding out why some data types do not appear in gengtype
output files, or why some do when they shouldn't.


I hope this patch would be approved. I find it nice.


Maybe a future improvement suggestion would be to parse in a more GNU-ish manner the gengtype program arguments. The current argument parsing is too ad-hoc. But this can be done in a near future (when we will improve gengtype to dump & reload information to be able to have plugin using gengtype without requiring GCC source & build trees).

Cheers.
--
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***


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