]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/fbsd-nat.c
* regcache.c (struct regcache): Add ptid_t member.
[thirdparty/binutils-gdb.git] / gdb / fbsd-nat.c
index 06e2151b471fcd0cf2eef957d57404a5f173d64b..cef15ccbf75577add9dae8bd65cd64ef6f40b028 100644 (file)
@@ -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;