This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
[patch] proc-utils.h PROCFS_NOTE
- To: Michael Snyder <msnyder at cygnus dot com>, GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: [patch] proc-utils.h PROCFS_NOTE
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 08 May 2000 01:29:43 +1000
- Organization: Cygnus Solutions
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)