object create_reader_func(object user_data)
{
try {
byte[] contents = bfd.GetSectionContents ((string) user_data);
return new TargetBlob (contents, bfd.TargetMemoryInfo);
} catch {
Report.Debug (DebugFlags.DwarfReader,
"{1} Can't find DWARF 2 debugging info in section `{0}'",
bfd.FileName, (string) user_data);
return null;
}
}