Gdbserver location fix

This is an enhancement to Luke Weber's patch that supports the old file structure and new structure for gdb server