aboutsummaryrefslogtreecommitdiff
path: root/gdb/procfs.c
AgeCommit message (Collapse)AuthorFilesLines
2001-07-062001-07-06 Michael Snyder <msnyder@redhat.com>Michael Snyder1-4/+1
* procfs.c (procfs_resume): Silence noisy warning.
2001-05-15Redefine ptid_t to be a struct rather than an int.Kevin Buettner1-12/+0
2001-05-04Phase 1 of the ptid_t changes.Kevin Buettner1-109/+113
2001-04-17Add code to retry certain open()s.Kevin Buettner1-9/+44
2001-04-132001-04-13 Fernando Nasser <fnasser@redhat.com>Fernando Nasser1-0/+2
From Adam Mirowski <Adam.Mirowski@Sun.COM> Fixed Insight on Solaris. It was not possible to debug a process because of EINTR "errors". * procfs.c: (procfs_wait): if proc_wait_for_stop() fails with EINTR, retry the call.
2001-03-27Add AIX5 procfs support.Kevin Buettner1-287/+708
2001-03-20malloc() -> xmalloc.Andrew Cagney1-5/+2
Move malloc() decl to utils.c
2001-03-15Add ``attrib'' parameter to *xfer_memory() functions.Andrew Cagney1-2/+4
2001-03-06Update/correct copyright notices.Kevin Buettner1-1/+1
2001-01-162001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-2/+6
* procfs.c (procfs_stopped_by_watchpoint): Don't die if process goes away -- just return false.
2000-12-15Replace free() with xfree().Kevin Buettner1-2/+2
2000-09-30Protoization.Kevin Buettner1-12/+16
2000-07-30Protoization.Kevin Buettner1-264/+105
2000-06-12Eliminate use of PARAMS.Kevin Buettner1-4/+3
2000-06-04Add host_pointer_to_address() and address_to_host_pointer(). AddAndrew Cagney1-2/+3
signed_pointer_to_address() etc. Rename generic_pointer_to_address() to unsigned_pointer_to_address() etc.
2000-06-04Eliminate PARAMS from function pointer declarations.Kevin Buettner1-2/+2
2000-05-28PARAMS removal.Kevin Buettner1-84/+80
2000-05-262000-05-26 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder1-31/+3
* gregset.h: New file. Typedefs for gdb_gregset_t and gdb_fpregset_t, prototypes for supply_gregset and friends. * procfs.c: Include gregset.h. Delete local prototypes for supply_gregset etc., and local typedef gdb_gregset_t etc. * sol-thread.c: Include gregset.h, delete local prototypes, add appropriate casts to gdb_gregset_t. * uw-thread.c, lin-thread.c, core-sol2.c, core-regset.c, sparc-tdep.c, ptx4-nat.c, ppc-linux-nat.c, mipsv4-nat.c, m88k-nat.c, m68klinux-nat.c, m68k-tdep.c, irix5-nat.c, irix4-nat.c, ia64-linux-nat.c, i386v4-nat.c, cxux-nat.c, arm-linux-nat.c, alpha-nat.c: Include gregset.h. * config/nm-linux.h: Define GDB_GREGSET_T, GDB_FPREGET_T. * config/sparc/tm-sun4sol2.h: Ditto.
2000-05-25Replace <sys/dir.h> (and <dirent.h>) with "gdb_dirent.h".Andrew Cagney1-2/+2
2000-05-22Purge procfs.c of make_cleanup_func.Andrew Cagney1-5/+18
2000-05-102000-05-08 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder1-34/+35
* gdbarch.sh: Add FP0_REGNUM to list of multi-arched register numbers. * gdbarch.c, gdbarch.h: Regenerate. * core-regset.c: Change FP0_REGNUM to a runtime test. * procfs.c: Ditto. * sun3-nat.c: Ditto. * sparc-tdep.c: Ditto. * i386mach-nat.c: Remove unnecessary ifdef for FP0_REGNUM. * ptx4-nat.c: Ditto. * sol-thread.c (sol_thread_create_inferior): only add the thread to the thread list if it is not already in there. (prototypes for thread_db func ptrs): pretty up formatting.
2000-05-07* procfs.c (PROCFS_TRACE): Delete definition.Andrew Cagney1-1/+0
* proc-utils.h (PROCFS_NOTE, PROC_PRETTYFPRINT_STATUS): Always define.
2000-05-052000-05-05 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder1-35/+10
* 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-15/+15
* 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-05-02Multi-arch NPC_REGNUM NNPC_REGNUM.Andrew Cagney1-6/+2
2000-04-272000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder1-28/+17
* procfs.c (comments): Eliminate "???" in comments, which GCC wants to interpret as a trigraph. (fill_gregset, supply_gregset, fill_fpregset, supply_fpregset): declare. (procfs_wait): Sysargs is a long, change printf format to match. (test-mapping, mapping_test, test_mapping_cmd) Remove (test only).
2000-04-07From 2000-03-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:Andrew Cagney1-0/+2
* procfs.c (init_procfs_ops): Set procfs_ops.to_has_memory and procfs_ops.to_has_all_memory to 1.
2000-03-282000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>Michael Snyder1-2/+2
* procfs.c (proc_set_watchpoint): Declare addr parameter as CORE_ADDR, to match call from procfs_set_watchpoint.
2000-02-29From Peter Schauer: Fix Solaris/x86 threads by copying linux code.Andrew Cagney1-17/+0
2000-02-16From Rodney Brown: Define MERGEPID when needed.Andrew Cagney1-0/+2
2000-01-25import gdb-2000-01-24 snapshotJason Molenda1-19/+34
2000-01-11import gdb-2000-01-10 snapshotJason Molenda1-47/+65
2000-01-06import gdb-2000-01-05 snapshotJason Molenda1-5048/+4343
1999-12-22import gdb-1999-12-21 snapshotJason Molenda1-0/+3
1999-11-09import gdb-1999-11-08 snapshotJason Molenda1-14/+36
1999-10-05import gdb-1999-10-04 snapshotJason Molenda1-1/+1
1999-09-28import gdb-1999-09-28 snapshotJason Molenda1-8/+16
1999-08-31import gdb-1999-08-30 snapshotJason Molenda1-1/+0
1999-07-07import gdb-1999-07-07 post reformatJason Molenda1-1227/+1356
1999-05-05import gdb-19990504 snapshotStan Shebs1-2/+2
1999-04-26import gdb-19990422 snapshotStan Shebs1-3/+21
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+5764
1999-04-16Initial creation of sourceware repositoryStan Shebs1-5826/+0
1999-01-29Fix for PR 17980:Mark Alexander1-1/+2
* procfs.c (wait_fd): Handle deleted threads correctly.
1999-01-22 * procfs.c (init_procfs_ops): New function, fills in procfs_ops,Stan Shebs1-25/+24
init only nonzero fields, leave to_require_attach and to_require_detach empty, not needed for /proc systems yet. (_initialize_procfs): Call init_procfs_ops.
1999-01-18change initialization of procfs_ops from compile time to run time.David Taylor1-69/+43
1999-01-13Wed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-2/+3
* infrun.c (set/show scheduler-locking) New command. Set a mode bit that will control how GDB attempts to control thread scheduling for step, continue, etc. (resume): make use of the schedule-locking mode. * target.h (struct target_ops): new field to_has_thread_control. * sol-thread.c: initialize target_ops to_has_thread_control. * procfs.c: ditto. * target.c: ditto. * m3-nat.c: ditto. * remote.c: ditto. * hpux-thread.c: ditto.
1998-12-31all remaining *.c *.h files from hp merge.David Taylor1-5/+4
1998-12-28hp merge changes -- too numerous to mention here; see ChangeLog andDavid Taylor1-6/+31
ChangeLog-gdbtk for details.
1998-11-24 * procfs.c (procfs_wait): handle syscall events first.Felix Lee1-46/+85
* procfs.c (GDB_GREGSET_TYPE, GDB_FPREGSET_TYPE): new macros. * config/sparc/xm-sun4sol2.h: use them. * core-sol2.c: don't #undef gregset_t and fpregset_t. * sol-thread.c: ditto. * sparc-tdep.c: ditto.