This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


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

[patch] proc-utils.h PROCFS_NOTE


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)

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