aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/fbsd-nat.c2
-rw-r--r--gdb/fbsd-nat.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gdb/fbsd-nat.c b/gdb/fbsd-nat.c
index a4ca4a5..f38d5d8 100644
--- a/gdb/fbsd-nat.c
+++ b/gdb/fbsd-nat.c
@@ -1779,7 +1779,7 @@ fbsd_nat_target::store_register_set (struct regcache *regcache, int regnum,
/* See fbsd-nat.h. */
-bool
+size_t
fbsd_nat_target::have_regset (ptid_t ptid, int note)
{
pid_t pid = get_ptrace_pid (ptid);
diff --git a/gdb/fbsd-nat.h b/gdb/fbsd-nat.h
index eb7d29d..7a0510c 100644
--- a/gdb/fbsd-nat.h
+++ b/gdb/fbsd-nat.h
@@ -190,7 +190,7 @@ protected:
the size of the register set is returned. If the register set is
not present, zero is returned. */
- bool have_regset (ptid_t ptid, int note);
+ size_t have_regset (ptid_t ptid, int note);
/* Wrapper versions of the PT_GETREGSET and PT_REGSET helpers which
accept a register set type. */