aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gdb6/files
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gdb6/files')
-rw-r--r--devel/gdb6/files/kvm-fbsd-alpha.h2
-rw-r--r--devel/gdb6/files/kvm-fbsd-i386.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/devel/gdb6/files/kvm-fbsd-alpha.h b/devel/gdb6/files/kvm-fbsd-alpha.h
index 0ea5988bf058..4918912b6752 100644
--- a/devel/gdb6/files/kvm-fbsd-alpha.h
+++ b/devel/gdb6/files/kvm-fbsd-alpha.h
@@ -51,6 +51,7 @@ fetch_kcore_registers (struct pcb *pcbp)
}
+#if __FreeBSD_version >= 500032
CORE_ADDR
fbsd_kern_frame_saved_pc (struct frame_info *fi)
{
@@ -77,3 +78,4 @@ fbsd_kern_frame_saved_pc (struct frame_info *fi)
return (this_saved_pc);
}
}
+#endif // __FreeBSD_version >= 500032
diff --git a/devel/gdb6/files/kvm-fbsd-i386.h b/devel/gdb6/files/kvm-fbsd-i386.h
index 0f9ba75a311a..e85fb1c695e2 100644
--- a/devel/gdb6/files/kvm-fbsd-i386.h
+++ b/devel/gdb6/files/kvm-fbsd-i386.h
@@ -56,6 +56,7 @@ ksym_maxuseraddr (void)
but we don't think that's too important right now. */
enum frametype { tf_normal, tf_trap, tf_interrupt, tf_syscall };
+#if __FreeBSD_version >= 500032
CORE_ADDR
fbsd_kern_frame_saved_pc (struct frame_info *fi)
{
@@ -99,6 +100,7 @@ fbsd_kern_frame_saved_pc (struct frame_info *fi)
#undef oEIP
}
}
+#endif // __FreeBSD_version >= 500032
static void
fetch_kcore_registers (struct pcb *pcb)