* procfs.c (PROCFS_TRACE): Delete definition.

* proc-utils.h (PROCFS_NOTE, PROC_PRETTYFPRINT_STATUS): Always define.
This commit is contained in:
Andrew Cagney 2000-05-07 23:09:45 +00:00
parent 502d24d454
commit 327fce13c5
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,9 @@
Mon May 8 00:49:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
* procfs.c (PROCFS_TRACE): Delete definition.
* proc-utils.h (PROCFS_NOTE, PROC_PRETTYFPRINT_STATUS): Always
define.
2000-05-05 Michael Snyder <msnyder@seadog.cygnus.com>
* procfs.c: Cleanup of procfs tracing. Move defines and

View file

@ -88,7 +88,7 @@ extern void procfs_note (char *, char *, int);
#define open(X,Y) open_with_trace (X, Y, __FILE__, __LINE__)
#define close(X) close_with_trace (X, __FILE__, __LINE__)
#define wait(X) wait_with_trace (X, __FILE__, __LINE__)
#endif
#define PROCFS_NOTE(X) procfs_note (X, __FILE__, __LINE__)
#define PROC_PRETTYFPRINT_STATUS(X,Y,Z,T) \
proc_prettyfprint_status (X, Y, Z, T)
#endif

View file

@ -87,7 +87,6 @@ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
files, because it redefines various system calls using macros.
This may be incompatible with the prototype declarations. */
#define PROCFS_TRACE
#include "proc-utils.h"
/* =================== TARGET_OPS "MODULE" =================== */