From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6395 invoked by alias); 2 Nov 2007 11:31:57 -0000 Received: (qmail 6328 invoked by uid 22791); 2 Nov 2007 11:31:48 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 02 Nov 2007 11:31:41 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 5E8C89829E; Fri, 2 Nov 2007 11:31:39 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id F1F0098103; Fri, 2 Nov 2007 11:31:38 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1InukT-0004OA-QT; Fri, 02 Nov 2007 07:31:37 -0400 Date: Fri, 02 Nov 2007 11:31:00 -0000 From: Daniel Jacobowitz To: Yoriko Komatsuzaki Cc: gdb@sourceware.org Subject: Re: gdbserver using serial port Message-ID: <20071102113137.GA16563@caradoc.them.org> Mail-Followup-To: Yoriko Komatsuzaki , gdb@sourceware.org References: <20071102105157.D940.YORIKO@sm.sony.co.jp> <20071102022518.GA21674@caradoc.them.org> <20071102125546.D942.YORIKO@sm.sony.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071102125546.D942.YORIKO@sm.sony.co.jp> User-Agent: Mutt/1.5.15 (2007-04-09) 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-11/txt/msg00011.txt.bz2 On Fri, Nov 02, 2007 at 01:11:47PM +0900, Yoriko Komatsuzaki wrote: > > Thank you for your answer. > > My environment is a littel special. > > On target (gdbserver run), the serial (/dev/ttyS0) is used as the > channel. But on host (gdb run), the usb (/dev/ttyUSB0) is used. > And the host and the target is connected by "the serial/usb > transimission cable". > > So I guess that this special hardware environment might affects this > problem. > > % gdb > (gdb) set debug remote 1 > (gdb) set debug serial 1 > (gdb) target remote /dev/ttyUSB0 > Remote debugging using /dev/ttyUSB0 > Sending packet: $qSupported#37... This looks like either a baud rate problem, or some other complete failure of serial support on your host. GDB can't read even a single byte from your target. -- Daniel Jacobowitz CodeSourcery