Clean up whitespace.

This commit is contained in:
Gareth McMullin 2012-11-03 19:59:01 +13:00
parent dac1f60dc2
commit 538f4d41b6
1 changed files with 51 additions and 43 deletions

View File

@ -257,11 +257,15 @@ gdb_main(void)
gdb_putpacket("", 0);
break;
}
if(set) ret = target_set_hw_bp(cur_target, addr);
else ret = target_clear_hw_bp(cur_target, addr);
if(set)
ret = target_set_hw_bp(cur_target, addr);
else
ret = target_clear_hw_bp(cur_target, addr);
if(!ret) gdb_putpacket("OK", 2);
else gdb_putpacket("E01", 3);
if(!ret)
gdb_putpacket("OK", 2);
else
gdb_putpacket("E01", 3);
break;
@ -272,11 +276,15 @@ gdb_main(void)
gdb_putpacket("", 0);
break;
}
if(set) ret = target_set_hw_wp(cur_target, type, addr, len);
else ret = target_clear_hw_wp(cur_target, type, addr, len);
if(set)
ret = target_set_hw_wp(cur_target, type, addr, len);
else
ret = target_clear_hw_wp(cur_target, type, addr, len);
if(!ret) gdb_putpacket("OK", 2);
else gdb_putpacket("E01", 3);
if(!ret)
gdb_putpacket("OK", 2);
else
gdb_putpacket("E01", 3);
break;
default: