* target.h (struct target_section): Delete member bfd.
[deliverable/binutils-gdb.git] / gdb / record-full.c
index 3a8d32637d260429a17f9fc62d643fb61ffb0c36..1c4e68bcd23bb762e71be779f85ae29b85e0a8c6 100644 (file)
@@ -2219,9 +2219,10 @@ record_full_core_xfer_partial (struct target_ops *ops,
                            xmalloc
                            (sizeof (struct record_full_core_buf_entry));
                          entry->p = p;
-                         if (!bfd_malloc_and_get_section (p->bfd,
-                                                          p->the_bfd_section,
-                                                          &entry->buf))
+                         if (!bfd_malloc_and_get_section
+                               (p->the_bfd_section->owner,
+                                p->the_bfd_section,
+                                &entry->buf))
                            {
                              xfree (entry);
                              return 0;
This page took 0.041284 seconds and 4 git commands to generate.