aboutsummaryrefslogtreecommitdiff
path: root/gdb/proc-api.c
AgeCommit message (Collapse)AuthorFilesLines
2001-05-102001-05-10 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-1/+4
* proc-api.c (ioctl_with_trace): Fix uninitialized variable.
2001-03-27Add AIX5 procfs support.Kevin Buettner1-3/+8
2001-03-06Update/correct copyright notices.Kevin Buettner1-1/+1
2001-02-19 * demangle.c (demangling_style_names): New variable.Eli Zaretskii1-0/+1
(_initialize_demangler): Fill demangling_style_names with the names of known demangling styles from libiberty_demanglers[]. Use add_set_enum_cmd instead of add_set_cmd, to get completion on demangling style names. * proc-api.c (_initialize_proc_api): Make `procfs-file' use file-name completion. * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'. * solib.c (_initialize_solib): Ditto for `solib-search-path' and `solib-absolute-prefix'. * tracepoint.c (_initialize_tracepoint): Ditto for `save-tracepoints'. * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'. * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use file-name completion. * infcmd.c (_initialize_infcmd): Make the following commands use the file-name completer: `tty', `args', `path', `paths', and `run'.
2000-07-30Protoization.Kevin Buettner1-49/+11
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