From 327fce13c57a6a7f319fe389c08ae8a3b438f4b0 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 7 May 2000 23:09:45 +0000 Subject: [PATCH] * procfs.c (PROCFS_TRACE): Delete definition. * proc-utils.h (PROCFS_NOTE, PROC_PRETTYFPRINT_STATUS): Always define. --- gdb/ChangeLog | 6 ++++++ gdb/proc-utils.h | 2 +- gdb/procfs.c | 1 - 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 77102a2de1c..f5876599221 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Mon May 8 00:49:32 2000 Andrew Cagney + + * procfs.c (PROCFS_TRACE): Delete definition. + * proc-utils.h (PROCFS_NOTE, PROC_PRETTYFPRINT_STATUS): Always + define. + 2000-05-05 Michael Snyder * procfs.c: Cleanup of procfs tracing. Move defines and diff --git a/gdb/proc-utils.h b/gdb/proc-utils.h index 08b0cc77268..7274550d923 100644 --- a/gdb/proc-utils.h +++ b/gdb/proc-utils.h @@ -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 diff --git a/gdb/procfs.c b/gdb/procfs.c index 796145807a1..1a6c9472fd5 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -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" =================== */ -- 2.30.2