Set gdb and rdbg ports if values changed