aboutsummaryrefslogtreecommitdiff
path: root/gdb/proc-api.c
AgeCommit message (Collapse)AuthorFilesLines
2000-05-23IRIX GCC fixes from 5.0 branch.Andrew Cagney1-0/+6
2000-05-052000-05-05 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder1-75/+77
* 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.
2000-05-052000-05-05 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder1-2/+2
* procfs.c (many functions): change int cmd; to long cmd; Solaris /proc API calls this parameter a long, and requires it for 64-bit hosts (where sizeof(long) != sizeof(int)). UnixWare calls it an int, but on existing UnixWare hosts, int and long are the same size. So long it must be. If a future UnixWare version has problems with this, we'll have to use autoconf. * proc-api.c (write_with_trace): use long instead of int.
2000-04-27 * proc-api.c (write_with_trace): Change 'arg' from long to int.Michael Snyder1-8/+10
Treat 'off_t' and 'size_t' as unsigned long in printfs. (lseek_with_trace): Treat 'off_t' as unsigned long in printf.
2000-01-25import gdb-2000-01-24 snapshotJason Molenda1-0/+808