* gdbtypes.h (builtin_type_f_character, builtin_type_f_logical,
[deliverable/binutils-gdb.git] / gdb / fbsd-nat.c
index ba1d54484c182b877108bcd6af0a8e1cd64c6bf2..cef15ccbf75577add9dae8bd65cd64ef6f40b028 100644 (file)
@@ -1,6 +1,6 @@
 /* Native-dependent code for FreeBSD.
 
-   Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003, 2004, 2007 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -146,7 +146,7 @@ char *
 fbsd_make_corefile_notes (bfd *obfd, int *note_size)
 {
   struct gdbarch *gdbarch = current_gdbarch;
-  const struct regcache *regcache = current_regcache;
+  const struct regcache *regcache = get_current_regcache ();
   gregset_t gregs;
   fpregset_t fpregs;
   char *note_data = NULL;
This page took 0.024623 seconds and 4 git commands to generate.