[patch] proc-utils.h PROCFS_NOTE

Andrew Cagney ac131313@cygnus.com
Sun May 7 09:36:00 GMT 2000


Michael,

FYI, I've checked in the attatched (1).  It gets IRIX 6.x<4 building
again.

Several quick thoughts: I'd just include the tracing code regardless -
if it is useful to you it will be useful to someone else (but perhaphs
not with the #define lseek hack :-); for the enable/disable command,
what about ``set debug procfs'' (``set debug'' was added while you were
away :-);  trace output should go to gdb_stdlog (at least normally) and
never stdout.

	enjoy,
		Andrew

(1) Actually, I've not.  The ``new world'' just lost connectivity with
the ``real world'' and I can't create the applicable diff.  The changes
were:

	o	delete #define PROCFS_TRACE
		from procfs.c

	o	Always provde definitions of
		PROCFS_NOTE and PROC_PRETTYFPRINT_STATUS
		(move them to outside of #ifdef PROCFS_TRACE)


More information about the Gdb-patches mailing list