The lock functions don't really need to disable interrupts themselves,
[pintos-anon] / src / misc / gdb-macros
2006-04-07 Ben PfaffAdd GDB macros written by Godmar Back.