From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16863 invoked by alias); 19 Dec 2007 12:40:49 -0000 Received: (qmail 16855 invoked by uid 22791); 19 Dec 2007 12:40:48 -0000 X-Spam-Check-By: sourceware.org Received: from nz-out-0506.google.com (HELO nz-out-0506.google.com) (64.233.162.234) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 19 Dec 2007 12:40:37 +0000 Received: by nz-out-0506.google.com with SMTP id x7so1436461nzc.3 for ; Wed, 19 Dec 2007 04:40:32 -0800 (PST) Received: by 10.142.211.10 with SMTP id j10mr2387690wfg.202.1198068028994; Wed, 19 Dec 2007 04:40:28 -0800 (PST) Received: by 10.142.116.3 with HTTP; Wed, 19 Dec 2007 04:40:28 -0800 (PST) Message-ID: <35e5b7760712190440l248b3d91tc5a597d3d2b667b1@mail.gmail.com> Date: Wed, 19 Dec 2007 12:40:00 -0000 From: "sfora dim" To: gdb@sourceware.org Subject: target remote and UDP source port (needed for kgdb debugging) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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/msg00138.txt.bz2 Hi all, When I "target remote udp:192.168.1.1:6433" I do not control my source UDP port, and it is picken randomly, usually above the 30K. Is there a way to ask gdb to use a specific UDP port when debugging a remote target ? This is important to me because when using kgdb as a target, I need to let it know what source port the gdb packets will come from. Thank you, sfora