From fee86abe1fc968a3ac7c6a851769a7cac2540675 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Fri, 27 Aug 2004 15:44:04 +0000 Subject: Support building/use on FreeBSD 4.x. PR: 71011 Submitted by: Douglas Thrift --- devel/gdb66/files/kvm-fbsd-i386.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'devel/gdb66/files/kvm-fbsd-i386.h') diff --git a/devel/gdb66/files/kvm-fbsd-i386.h b/devel/gdb66/files/kvm-fbsd-i386.h index 0f9ba75a311a..e85fb1c695e2 100644 --- a/devel/gdb66/files/kvm-fbsd-i386.h +++ b/devel/gdb66/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) -- cgit v1.2.3