aboutsummaryrefslogtreecommitdiff
path: root/gdb/fbsd-nat.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-03-22 12:05:43 -0700
committerJohn Baldwin <jhb@FreeBSD.org>2022-03-22 12:05:43 -0700
commit6719bc690e2829c50d3d3bb22ede1324e5baa12a (patch)
tree23e6744628f85f6f273e3dbfd3e6f7d16ec0d5c1 /gdb/fbsd-nat.h
parent1570c37c340bb9df2db2c30b437d6c30e1d75459 (diff)
downloadgdb-6719bc690e2829c50d3d3bb22ede1324e5baa12a.zip
gdb-6719bc690e2829c50d3d3bb22ede1324e5baa12a.tar.gz
gdb-6719bc690e2829c50d3d3bb22ede1324e5baa12a.tar.bz2
fbsd-nat: Add helper routine to fetch siginfo_t for a ptid.
Diffstat (limited to 'gdb/fbsd-nat.h')
-rw-r--r--gdb/fbsd-nat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/fbsd-nat.h b/gdb/fbsd-nat.h
index 2f17be5..d7c8eb8 100644
--- a/gdb/fbsd-nat.h
+++ b/gdb/fbsd-nat.h
@@ -166,4 +166,8 @@ protected:
}
};
+/* Fetch the signal information for PTID and store it in *SIGINFO.
+ Return true if successful. */
+bool fbsd_nat_get_siginfo (ptid_t ptid, siginfo_t *siginfo);
+
#endif /* fbsd-nat.h */