Fix GDB mode not working...