OSDN Git Service

2000-05-05 Michael Snyder <msnyder@seadog.cygnus.com>
authormsnyder <msnyder>
Fri, 5 May 2000 20:56:10 +0000 (20:56 +0000)
committermsnyder <msnyder>
Fri, 5 May 2000 20:56:10 +0000 (20:56 +0000)
commitee04739a25642dea071166a9a2ed852d327e4cce
tree16f05123c115f20c06e843644e67af735e8e0f71
parentf016d9f99ea7786ceb43bb9cb1154d4d3bdf1a39
2000-05-05  Michael Snyder  <msnyder@seadog.cygnus.com>

        * procfs.c: Cleanup of procfs tracing.  Move defines and
        prototypes to proc-utils.h
        * proc-utils.h: Define tracing macros.  Declare trace functions.
        * proc-api.c: Make procfs tracing a runtime option.
        (prepare_to_trace): New function, abstracted out of several
        places.  Open a trace file if one is required.
        (ioctl_with_trace, write_with_trace, open_with_trace,
        close_with_trace, wait_with_trace, lseek_with_trace):
        Report errno if an error occurs in a system call.
        (write_with_trace): Make 2nd arg void *, to agree with write.
gdb/ChangeLog
gdb/proc-api.c
gdb/proc-utils.h
gdb/procfs.c