[gdb] drop unused functions