Remove make_cleanup_free_section_addr_info
[deliverable/binutils-gdb.git] / gdb / symfile-debug.c
index 8b2df5503190a4a94ac9e680f6b175fc895135f2..358b2f82734d0dfa463bd4505937de2888d98722 100644 (file)
@@ -506,7 +506,7 @@ debug_sym_finish (struct objfile *objfile)
 
 static void
 debug_sym_offsets (struct objfile *objfile,
-                  const struct section_addr_info *info)
+                  const section_addr_info &info)
 {
   const struct debug_sym_fns_data *debug_data
     = ((const struct debug_sym_fns_data *)
@@ -514,7 +514,7 @@ debug_sym_offsets (struct objfile *objfile,
 
   fprintf_filtered (gdb_stdlog, "sf->sym_offsets (%s, %s)\n",
                    objfile_debug_name (objfile),
-                   host_address_to_string (info));
+                   host_address_to_string (&info));
 
   debug_data->real_sf->sym_offsets (objfile, info);
 }
This page took 0.04299 seconds and 4 git commands to generate.