All debug info fixes added

This commit is contained in:
Colton G. Rushton 2022-06-18 17:42:06 -03:00
parent b9fd9ae40b
commit 6777bd8311

View File

@ -3701,6 +3701,14 @@ output_abbrev_section ()
fprintf (asm_out_file, "\t%s\t0,0\n", ASM_BYTE_OP);
}
if (flag_legacy_debug_info)
{
/* We need to properly terminate the abbrev table for this
compilation unit, as per the standard, and not rely on
workarounds in e.g. gdb. */
fprintf (asm_out_file, "\t%s\t0\n", ASM_BYTE_OP);
}
}
/* Output location description stack opcode's operands (if any). */