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

Paul Koning
2007-12-19T16:29:46Z

>>>>> "sfora" == sfora dim <sfora.dim@gmail.com> writes:

sfora> 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.

sfora> So how do people work with this ?

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

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

Fix the stub so it doesn't require a hardcoded source port? It's
pretty weird to expect the originator of traffic to have a fixed port
number.

paul