Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Paul Koning <pkoning@equallogic.com>
To: sfora.dim@gmail.com
Cc: drow@false.org,     gdb@sourceware.org
Subject: Re: target remote and UDP source port (needed for kgdb debugging)
Date: Wed, 19 Dec 2007 16:29:00 -0000	[thread overview]
Message-ID: <18281.18120.96289.181270@pkoning-laptop.equallogic.com> (raw)
In-Reply-To: <35e5b7760712190631x37c0dd81u967f514f8ffd9f78@mail.gmail.com>

>>>>> "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


      parent reply	other threads:[~2007-12-19 16:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-19 12:40 sfora dim
2007-12-19 13:56 ` Daniel Jacobowitz
2007-12-19 14:32   ` sfora dim
2007-12-19 15:32     ` Andreas Schwab
2007-12-19 16:29     ` Paul Koning [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18281.18120.96289.181270@pkoning-laptop.equallogic.com \
    --to=pkoning@equallogic.com \
    --cc=drow@false.org \
    --cc=gdb@sourceware.org \
    --cc=sfora.dim@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox