Fix latest commit

This commit is contained in:
TuxSH 2017-09-24 19:31:38 +02:00
parent 8e31784996
commit d63fc2bc82

View File

@ -114,9 +114,6 @@ int GDB_DisableBreakpointById(GDBContext *ctx, u32 id)
int GDB_RemoveBreakpoint(GDBContext *ctx, u32 address) int GDB_RemoveBreakpoint(GDBContext *ctx, u32 address)
{ {
if(!thumb && (address & 3) != 0)
return -EINVAL;
address &= ~1; address &= ~1;
u32 id = GDB_FindClosestBreakpointSlot(ctx, address); u32 id = GDB_FindClosestBreakpointSlot(ctx, address);