diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-05-07 23:09:45 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-05-07 23:09:45 +0000 |
commit | 327fce13c57a6a7f319fe389c08ae8a3b438f4b0 (patch) | |
tree | b1609f0ce9b59b7052ed04da884f80ea894277f9 | |
parent | 502d24d454123c6bb60132a5ebcbe04094b8a1e2 (diff) | |
download | gdb-327fce13c57a6a7f319fe389c08ae8a3b438f4b0.zip gdb-327fce13c57a6a7f319fe389c08ae8a3b438f4b0.tar.gz gdb-327fce13c57a6a7f319fe389c08ae8a3b438f4b0.tar.bz2 |
* procfs.c (PROCFS_TRACE): Delete definition.
* proc-utils.h (PROCFS_NOTE, PROC_PRETTYFPRINT_STATUS): Always define.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/proc-utils.h | 2 | ||||
-rw-r--r-- | gdb/procfs.c | 1 |
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" =================== */ |