diff options
Diffstat (limited to 'gdb/fbsd-nat.c')
-rw-r--r-- | gdb/fbsd-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/fbsd-nat.c b/gdb/fbsd-nat.c index 06e2151..cef15cc 100644 --- a/gdb/fbsd-nat.c +++ b/gdb/fbsd-nat.c @@ -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; |