win32_demon: make conflicting trap net / user bp trap behavior identical to linux - always find info for *first* trap in list. second... dbg_engine: store trap net traps *first*, so that trap net behavior is preferred when trap nets conflict with user bp traps.

This commit is contained in:
Ryan Fleury committed 2026-09-28 10:10:16 -06:00
1 parent 4e7a6127d8
commit 2933143b08
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -4878,8 +4878,8 @@ d_ctrl_thread__run(DMN_CtrlCtx *ctrl_ctx, D_Msg *msg)
//
DMN_TrapChunkList joined_traps = {0};
{
dmn_trap_chunk_list_concat_shallow_copy(scratch.arena, &joined_traps, &user_traps);
dmn_trap_chunk_list_concat_shallow_copy(scratch.arena, &joined_traps, &trap_net_traps);
dmn_trap_chunk_list_concat_shallow_copy(scratch.arena, &joined_traps, &user_traps);
}
//////////////////////////////