From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4742 invoked by alias); 6 Oct 2003 18:34:59 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 4735 invoked from network); 6 Oct 2003 18:34:58 -0000 Received: from unknown (HELO zenia.home) (12.223.225.216) by sources.redhat.com with SMTP; 6 Oct 2003 18:34:58 -0000 Received: by zenia.home (Postfix, from userid 5433) id 2F95120766; Mon, 6 Oct 2003 13:33:49 -0500 (EST) To: Sachin Bharadwaj Cc: insight@sources.redhat.com Subject: Re: USB support for GDB References: <3F810792.E9AD0451@multitech.co.in> From: Jim Blandy Date: Mon, 06 Oct 2003 18:34:00 -0000 In-Reply-To: <3F810792.E9AD0451@multitech.co.in> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-q4/txt/msg00020.txt.bz2 Sachin Bharadwaj writes: > How do I start modifying Insight/GDB for communicating through USB. I > have a sample Linux USB driver, with which I want to interface the > Insight/GDB 5.1. I don't know anything about talking to USB devices, but I would guess that you would need to create a new serial_ops structure (see serial.h) pointing to functions that do the right thing, and call serial_add_interface to register it. Then you'll need to add a case to serial_open in serial.c to parse the argument to 'target remote'.