From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11966 invoked by alias); 2 Nov 2007 02:14:20 -0000 Received: (qmail 11956 invoked by uid 22791); 2 Nov 2007 02:14:19 -0000 X-Spam-Check-By: sourceware.org Received: from MGW2.Sony.CO.JP (HELO mgw2.sony.co.jp) (137.153.0.14) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 02 Nov 2007 02:14:17 +0000 Received: from mail2.sony.co.jp ([43.0.1.202]) Received: from mail2.sony.co.jp (localhost [127.0.0.1]) by mail2.sony.co.jp (R8/Sony) with ESMTP id lA22EEn1007166 for ; Fri, 2 Nov 2007 11:14:14 +0900 (JST) Received: from smail1.sm.sony.co.jp (smail1.sm.sony.co.jp [43.11.253.1]) by mail2.sony.co.jp (R8/Sony) with ESMTP id lA22EEg6007147 for ; Fri, 2 Nov 2007 11:14:14 +0900 (JST) Received: from imail.sm.sony.co.jp (imail.sm.sony.co.jp [43.4.141.32]) by smail1.sm.sony.co.jp (8.11.6p2/8.11.6) with ESMTP id lA22EDe16227 for ; Fri, 2 Nov 2007 11:14:13 +0900 (JST) Received: from [43.4.145.251] (gco-w12f-vlan145-251.sm.sony.co.jp [43.4.145.251]) by imail.sm.sony.co.jp (8.12.11/3.7W) with ESMTP id lA22EDE5006682 for ; Fri, 2 Nov 2007 11:14:13 +0900 (JST) Date: Fri, 02 Nov 2007 02:14:00 -0000 From: Yoriko Komatsuzaki To: gdb@sourceware.org Subject: gdbserver using serial port Message-Id: <20071102105157.D940.YORIKO@sm.sony.co.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Mailer: Becky! ver. 2.07.04 [ja] 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/msg00005.txt.bz2 Hello,=20 I would like to ask you about gdbserver in case of using serial port. In gdb-6.6, if I run gdbserver using serial port, the following messages continue and it can't establish the connection to host gdb. % gdbserver /dev/ttyS0 a.out ... Remote debugging using /dev/ttyS0 readchar: Socket operation on non-socket Remote side has terminated connection. GDBserver will reopen the connectio= n. Remote debugging using /dev/ttyS0 readchar: Socket operation on non-socket Remote side has terminated connection. GDBserver will reopen the connectio= n. Remote debugging using /dev/ttyS0 readchar: Socket operation on non-socket ... And then in gdb-6.7, the following messages are displayed.=20 % gdbserver /dev/ttyS0 a.out Process a.out created; pid =3D 10696 Remote debugging using /dev/ttyS0 So I ran the host gdb and tried to establish the connection between host and target, but couldn't establish the connections channel. In the both cases, if I use the network as the debug channel,=20 I can use the gdb/gdbserver without any problems. Do you have any ideas or comments ? Thank you. --- Yoriko Komatsuzaki (yoriko@sm.sony.co.jp)