From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23818 invoked by alias); 31 Jan 2007 15:02:21 -0000 Received: (qmail 23801 invoked by uid 22791); 31 Jan 2007 15:02:20 -0000 X-Spam-Check-By: sourceware.org Received: from web53809.mail.yahoo.com (HELO web53809.mail.yahoo.com) (206.190.36.204) by sourceware.org (qpsmtpd/0.31) with SMTP; Wed, 31 Jan 2007 15:02:06 +0000 Received: (qmail 65878 invoked by uid 60001); 31 Jan 2007 15:02:04 -0000 X-YMail-OSG: TdDgIC4VM1lynefnm3DZuYL.W_CSRI2yZRpr_NQ5WvhnuRjzwu22oTD5npNw3jVeehUBcuks_70oA8sZWqG2Dptz9tMPocG9w1gYVCVKIwo3jfvd1IgvESvqKXl6NhW2qeG_mByZ_ywd6jQjcK9PxvKH6AVXbk3jldOMG2WLds7wUTOum8TllZA67GRP Received: from [194.237.142.13] by web53809.mail.yahoo.com via HTTP; Wed, 31 Jan 2007 07:02:04 PST X-Mailer: YahooMailRC/368.3 YahooMailWebService/0.6.132.7 Date: Wed, 31 Jan 2007 15:02:00 -0000 From: veenu khanna Subject: GDB Stub & GPL question To: gdb@sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <256227.64036.qm@web53809.mail.yahoo.com> 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-01/txt/msg00357.txt.bz2 Hello I have a question regarding implementing a remote stub. Say we have to impl= ement/extend a stub for x86 architecture with our own OS. IN section for "Implementing a remote stub (Section 17.5.3)" in "Debugging = with GDB" document there is a point "Make sure you have a serial connection between your target machine and the= gdb host, and identify the serial port on the host." Does this mean that GDB on host and GDB agent/stub on the target can only t= alk on a serial port ?=20 And in point 7 it says "Start gdb on the host, and connect to the target" i= n which TCP connection is allowed as well. Can someone help me in getting things right ?=20 I know that it is possible to have a TCP communication between gdb and gdbs= erver.=20 Is there a support for the same for stubs ?=20 Another question is regarding GPL... some part of stub code will be residing in our kernel which is proprietary.= =20 Does that mean we will have to release the code for kernel as well ?=20 Thanx Veenu =20 ___________________________________________________________________________= _________ Food fight? Enjoy some healthy debate=20 in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=3Dlist&sid=3D396545367