From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25776 invoked by alias); 29 Jun 2002 04:29:29 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 25692 invoked from network); 29 Jun 2002 04:29:26 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 29 Jun 2002 04:29:26 -0000 Received: from 02-099.118.popsite.net ([66.19.120.99] helo=nevyn.them.org) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17O9qv-00065d-00; Fri, 28 Jun 2002 23:28:53 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17O9qy-0006XY-00; Sat, 29 Jun 2002 00:28:56 -0400 Date: Fri, 28 Jun 2002 21:29:00 -0000 From: Daniel Jacobowitz To: "KONG, Gangfeng" Cc: Quality Quorum , Andrew Cagney , gdb@sources.redhat.com Subject: Re: Remote target behind console server Message-ID: <20020629042856.GA25124@nevyn.them.org> Mail-Followup-To: "KONG, Gangfeng" , Quality Quorum , Andrew Cagney , gdb@sources.redhat.com References: <3D1CE7D9.4050607@ges.redhat.com> <5.1.0.14.1.20020628183650.02b3c6b0@mailhost.iprg.nokia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.1.0.14.1.20020628183650.02b3c6b0@mailhost.iprg.nokia.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-06/txt/msg00325.txt.bz2 On Fri, Jun 28, 2002 at 06:45:17PM -0700, KONG, Gangfeng wrote: > > > > >> > >> You mean an ``annex[tm]''? Yes. You'll likely need to tweak things so > >> that the terminal server automatically connects the GDB session through > >> to the serial port. There isn't an easy way, from GDB, to send terminal > >> server commands. > > > >You have to configure your terminal server appropriately (either enable > >'raw' mode on the terminal server or disable 'X' command on the stub/gdb) > >and this is basically it, people do it all the time. > > > >If you are going to do 'load' over this connection big terminal server > >buffers may screw it up. > Thanks for your message, > > Basically I need to use 'telnet' to the ip-addr of my terminal server to > access > the serial port of my target box. I may reconfigure the terminal server, but > how can I let gdb to setup an telnet connection to the terminal server and > then take this connection as media for its serial access to the stub on > the target? Have you tried using 'target remote ip-addr:port' to the terminal server directly? -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer