aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/proc-utils.h2
-rw-r--r--gdb/procfs.c1
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 77102a2..f587659 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/proc-utils.h b/gdb/proc-utils.h
index 08b0cc7..7274550 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 7961458..1a6c947 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" =================== */