fix regressions with GDB port numbers
commit23f07d08e3998642326aa115cdd4cb1199f2704b
authorZachary T Welch <zw@superlucidity.net>
Thu, 3 Dec 2009 13:13:45 +0000 (3 05:13 -0800)
committerZachary T Welch <zw@superlucidity.net>
Thu, 3 Dec 2009 13:28:51 +0000 (3 05:28 -0800)
tree49b7652c84b8881327da0f2a9083c1bbbe07f8be
parent434f570e51a0b0f2c09184646d91154c74bbff81
fix regressions with GDB port numbers

Use a separate variable for iterating GDB service port numbers than
the one set by the user.  Restores the behavior of returning the
original port number and only incrementing the port used on success.
src/server/gdb_server.c