summaryrefslogtreecommitdiffstats
path: root/gdb/proc-api.c
Commit message (Collapse)AuthorAgeFilesLines
* IRIX GCC fixes from 5.0 branch.Andrew Cagney2000-05-231-0/+6
|
* 2000-05-05 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2000-05-051-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-05 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2000-05-051-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.
* * proc-api.c (write_with_trace): Change 'arg' from long to int.Michael Snyder2000-04-271-8/+10
| | | | | Treat 'off_t' and 'size_t' as unsigned long in printfs. (lseek_with_trace): Treat 'off_t' as unsigned long in printf.
* import gdb-2000-01-24 snapshotJason Molenda2000-01-251-0/+808
OpenPOWER on IntegriCloud