dwarf_loc_buffer = NULL;
dwarf2_per_objfile->loc_buffer = NULL;
dwarf2_build_psymtabs (struct objfile *objfile, int mainline){  /* We definitely need the .debug_info and .debug_abbrev sections */  dwarf_info_buffer = dwarf2_read_section (objfile, dwarf_info_section);  dwarf_abbrev_buffer = dwarf2_read_section (objfile, dwarf_abbrev_section);  if (dwarf_line_section)    dwarf_line_buffer = dwarf2_read_section (objfile, dwarf_line_section);  else    dwarf_line_buffer = NULL;  if (dwarf_str_section)    dwarf_str_buffer = dwarf2_read_section (objfile, dwarf_str_section);  else    dwarf_str_buffer = NULL;  if (dwarf_macinfo_section)    dwarf_macinfo_buffer = dwarf2_read_section (objfile,						dwarf_macinfo_section);  else    dwarf_macinfo_buffer = NULL;  if (dwarf_ranges_section)    dwarf_ranges_buffer = dwarf2_read_section (objfile, dwarf_ranges_section);  else    dwarf_ranges_buffer = NULL;  if (dwarf_loc_section)    dwarf_loc_buffer = dwarf2_read_section (objfile, dwarf_loc_section);  else    dwarf_loc_buffer = NULL;  if (mainline      || (objfile->global_psymbols.size == 0	  && objfile->static_psymbols.size == 0))    {      init_psymbol_list (objfile, 1024);    }#if 0  if (dwarf_aranges_offset && dwarf_pubnames_offset)    {      /* Things are significantly easier if we have .debug_aranges and         .debug_pubnames sections */      dwarf2_build_psymtabs_easy (objfile, mainline);    }  else#endif    /* only test this case for now */    {      /* In this case we have to work a bit harder */      dwarf2_build_psymtabs_hard (objfile, mainline);    }}