From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19943 invoked by alias); 19 Dec 2007 14:32:02 -0000 Received: (qmail 19820 invoked by uid 22791); 19 Dec 2007 14:31:48 -0000 X-Spam-Check-By: sourceware.org Received: from wr-out-0506.google.com (HELO wr-out-0506.google.com) (64.233.184.236) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 19 Dec 2007 14:31:36 +0000 Received: by wr-out-0506.google.com with SMTP id 68so2503140wri.3 for ; Wed, 19 Dec 2007 06:31:34 -0800 (PST) Received: by 10.142.133.15 with SMTP id g15mr829755wfd.146.1198074693271; Wed, 19 Dec 2007 06:31:33 -0800 (PST) Received: by 10.142.116.3 with HTTP; Wed, 19 Dec 2007 06:31:33 -0800 (PST) Message-ID: <35e5b7760712190631x37c0dd81u967f514f8ffd9f78@mail.gmail.com> Date: Wed, 19 Dec 2007 14:32:00 -0000 From: "sfora dim" To: drow@false.org, gdb@sourceware.org Subject: Re: target remote and UDP source port (needed for kgdb debugging) In-Reply-To: <20071219135609.GB20046@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <35e5b7760712190440l248b3d91tc5a597d3d2b667b1@mail.gmail.com> <20071219135609.GB20046@caradoc.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-12/txt/msg00141.txt.bz2 On 12/19/07, Daniel Jacobowitz 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 >