diff options
author | Michael Snyder <msnyder@vmware.com> | 2000-05-05 20:56:10 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2000-05-05 20:56:10 +0000 |
commit | 103b3ef54f8d3711039fe1dfe18b109e5dac322b (patch) | |
tree | 40b86899df0c0c1a233c429184b53327fdd2b96c /gdb/hp300ux-nat.c | |
parent | b8d39351ea5eabfa364474f006b1556f40f0f636 (diff) | |
download | gdb-103b3ef54f8d3711039fe1dfe18b109e5dac322b.zip gdb-103b3ef54f8d3711039fe1dfe18b109e5dac322b.tar.gz gdb-103b3ef54f8d3711039fe1dfe18b109e5dac322b.tar.bz2 |
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.
Diffstat (limited to 'gdb/hp300ux-nat.c')
0 files changed, 0 insertions, 0 deletions