Fix Alpha native GDB build
[deliverable/binutils-gdb.git] / gdb / symfile-mem.c
index c060711772d497dfc6140db9bf60725381cc1e5e..2e82beb7a4e79c34ff21fa775a1be93bb0512f48 100644 (file)
@@ -99,7 +99,7 @@ symbol_file_add_from_memory (struct bfd *templ, CORE_ADDR addr,
     error (_("Failed to read a valid object file image from memory."));
 
   /* Manage the new reference for the duration of this function.  */
-  gdb_bfd_ref_ptr nbfd_holder = new_bfd_ref (nbfd);
+  gdb_bfd_ref_ptr nbfd_holder = gdb_bfd_ref_ptr::new_reference (nbfd);
 
   xfree (bfd_get_filename (nbfd));
   if (name == NULL)
This page took 0.024197 seconds and 4 git commands to generate.