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

sfora dim
2007-12-19T14:32:02Z

On 12/19/07, Daniel Jacobowitz <drow@false.org> wrote:
> On Wed, Dec 19, 2007 at 02:40:28PM +0200, sfora dim wrote:
> > Is there a way to ask gdb to use a specific UDP port when debugging
> > a remote target ?
>
> No, there is not.

So how do people work with this ?

I use tcpdump every time I begin a debugging session, and once I see
the source port, I reconfigure my kgdb.

Is there a better way (this is rather awkward) ?

thank you
sfora

>
> --
> Daniel Jacobowitz
> CodeSourcery
>