target remote and UDP source port (needed for kgdb debugging)

sfora dim
2007-12-19T12:40:49Z

Hi all,

When I "target remote udp:192.168.1.1:6433" I do not control
my source UDP port, and it is picken randomly, usually above
the 30K.

Is there a way to ask gdb to use a specific UDP port when debugging
a remote target ?

This is important to me because when using kgdb as a target,
I need to let it know what source port the gdb packets will come from.

Thank you,
sfora