OSDN Git Service

* procfs.c (PROCFS_TRACE): Delete definition.
authorAndrew Cagney <cagney@redhat.com>
Sun, 7 May 2000 23:09:45 +0000 (23:09 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 7 May 2000 23:09:45 +0000 (23:09 +0000)
* proc-utils.h (PROCFS_NOTE, PROC_PRETTYFPRINT_STATUS): Always define.

gdb/ChangeLog
gdb/proc-utils.h
gdb/procfs.c

index 77102a2..f587659 100644 (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 
index 08b0cc7..7274550 100644 (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
index 7961458..1a6c947 100644 (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" =================== */