loader: Modify debug_marker terminators