chore: update to latest zig master
This commit is contained in:
parent
6d6a109a08
commit
d39609b144
|
@ -47,7 +47,7 @@ const SwBkpt = struct {
|
|||
}
|
||||
|
||||
pub fn remove(self: *@This(), addr: u32) void {
|
||||
for (self.list.items) |bkpt, i| {
|
||||
for (self.list.items, 0..) |bkpt, i| {
|
||||
if (bkpt.addr == addr) {
|
||||
_ = self.list.orderedRemove(i);
|
||||
log.debug("Removed Breakpoint at 0x{X:0>8}", .{addr});
|
||||
|
|
Loading…
Reference in New Issue