mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-05 21:38:40 +00:00
quick fix to not omit opl line records in breakpad_from_pdb
This commit is contained in:
@@ -167,11 +167,14 @@ internal TS_TASK_FUNCTION_DEF(p2b_dump_proc_chunk_task__entry_point)
|
|||||||
RDI_Line *line = &line_info.lines[line_info_idx];
|
RDI_Line *line = &line_info.lines[line_info_idx];
|
||||||
U64 line_voff_min = line_info.voffs[line_info_idx];
|
U64 line_voff_min = line_info.voffs[line_info_idx];
|
||||||
U64 line_voff_opl = line_info.voffs[line_info_idx+1];
|
U64 line_voff_opl = line_info.voffs[line_info_idx+1];
|
||||||
str8_list_pushf(arena, out, "%I64x %I64x %I64u %I64u\n",
|
if(line->file_idx != 0)
|
||||||
line_voff_min,
|
{
|
||||||
line_voff_opl-line_voff_min,
|
str8_list_pushf(arena, out, "%I64x %I64x %I64u %I64u\n",
|
||||||
(U64)line->line_num,
|
line_voff_min,
|
||||||
(U64)line->file_idx);
|
line_voff_opl-line_voff_min,
|
||||||
|
(U64)line->line_num,
|
||||||
|
(U64)line->file_idx);
|
||||||
|
}
|
||||||
last_voff = voff;
|
last_voff = voff;
|
||||||
voff = line_voff_opl;
|
voff = line_voff_opl;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user