From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14993 invoked by alias); 29 Jun 2002 14:45:25 -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 14984 invoked from network); 29 Jun 2002 14:45:22 -0000 Received: from unknown (HELO TheWorld.com) (199.172.62.104) by sources.redhat.com with SMTP; 29 Jun 2002 14:45:22 -0000 Received: from shell.TheWorld.com (mholmes@shell01.TheWorld.com [199.172.62.241]) by TheWorld.com (8.9.3/8.9.3) with ESMTP id KAA30333; Sat, 29 Jun 2002 10:45:21 -0400 Received: from localhost (qqi@localhost) by shell.TheWorld.com (8.9.3/8.9.3) with ESMTP id KAA3647810; Sat, 29 Jun 2002 10:45:21 -0400 (EDT) X-Authentication-Warning: shell01.TheWorld.com: qqi owned process doing -bs Date: Sat, 29 Jun 2002 07:45:00 -0000 From: Quality Quorum To: "KONG, Gangfeng" cc: Andrew Cagney , Subject: Re: Remote target behind console server In-Reply-To: <5.1.0.14.1.20020628183650.02b3c6b0@mailhost.iprg.nokia.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-06/txt/msg00327.txt.bz2 On Fri, 28 Jun 2002, 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? target remote host:port I do not have gdb on the system I am typing, but I hope the syntax is correct > > Thanks > GF. > Thanks, Aleksey