mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-07 22:38:41 +00:00
fix go-to-source
This commit is contained in:
@@ -149,6 +149,7 @@ d_line_list_copy(Arena *arena, D_LineList *list)
|
|||||||
{
|
{
|
||||||
D_LineNode *dst_n = push_array(arena, D_LineNode, 1);
|
D_LineNode *dst_n = push_array(arena, D_LineNode, 1);
|
||||||
MemoryCopyStruct(dst_n, src_n);
|
MemoryCopyStruct(dst_n, src_n);
|
||||||
|
dst_n->v.file_path = push_str8_copy(arena, dst_n->v.file_path);
|
||||||
dst_n->v.dbgi_key = di_key_copy(arena, &src_n->v.dbgi_key);
|
dst_n->v.dbgi_key = di_key_copy(arena, &src_n->v.dbgi_key);
|
||||||
SLLQueuePush(dst.first, dst.last, dst_n);
|
SLLQueuePush(dst.first, dst.last, dst_n);
|
||||||
dst.count += 1;
|
dst.count += 1;
|
||||||
|
|||||||
@@ -3818,7 +3818,9 @@ rd_window_frame(RD_Window *ws)
|
|||||||
{
|
{
|
||||||
rd_cmd(RD_CmdKind_FindCodeLocation,
|
rd_cmd(RD_CmdKind_FindCodeLocation,
|
||||||
.file_path = lines.first->v.file_path,
|
.file_path = lines.first->v.file_path,
|
||||||
.cursor = lines.first->v.pt);
|
.cursor = lines.first->v.pt,
|
||||||
|
.vaddr = 0,
|
||||||
|
.process = ctrl_handle_zero());
|
||||||
}
|
}
|
||||||
ui_ctx_menu_close();
|
ui_ctx_menu_close();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user