diff options
Diffstat (limited to 'gdb/nat/netbsd-nat.h')
-rw-r--r-- | gdb/nat/netbsd-nat.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/nat/netbsd-nat.h b/gdb/nat/netbsd-nat.h index 6472cc5..d77119b 100644 --- a/gdb/nat/netbsd-nat.h +++ b/gdb/nat/netbsd-nat.h @@ -57,6 +57,16 @@ extern void for_each_thread (pid_t pid, traced. */ extern void enable_proc_events (pid_t pid); + +/* Implement reading and writing of inferior's siginfo_t specified by PID. + Returns -1 on failure and the number of bytes on a successful transfer. + + This function assumes internally that the queried process is stopped and + traced. */ + +extern int qxfer_siginfo (pid_t pid, const char *annex, unsigned char *readbuf, + unsigned const char *writebuf, CORE_ADDR offset, + int len); } #endif |