merge gdb package from trunk to replace the gdbserver package (fixes #5884)