This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]