From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6986 invoked by alias); 4 Jul 2002 01:26:54 -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 6962 invoked from network); 4 Jul 2002 01:26:52 -0000 Received: from unknown (HELO mailhost.iprg.nokia.com) (205.226.5.12) by sources.redhat.com with SMTP; 4 Jul 2002 01:26:52 -0000 Received: from darkstar.iprg.nokia.com (darkstar.iprg.nokia.com [205.226.5.69]) by mailhost.iprg.nokia.com (8.9.3/8.9.3-GLGS) with ESMTP id SAA03032; Wed, 3 Jul 2002 18:26:52 -0700 (PDT) Received: (from root@localhost) by darkstar.iprg.nokia.com (8.11.0/8.11.0-DARKSTAR) id g641QpO03955; Wed, 3 Jul 2002 18:26:51 -0700 X-mProtect: <200207040126> Nokia Silicon Valley Messaging Protection Received: from UNKNOWN (172.19.68.218, claiming to be "gkong.iprg.nokia.com") by darkstar.iprg.nokia.com smtpdOKeGGA; Wed, 03 Jul 2002 18:26:49 PDT Message-Id: <5.1.0.14.1.20020703182312.028e9410@mailhost.iprg.nokia.com> X-Sender: gkong@mailhost.iprg.nokia.com Date: Wed, 03 Jul 2002 18:26:00 -0000 To: Quality Quorum From: "KONG, Gangfeng" Subject: Re: Remote target behind console server Cc: Daniel Jacobowitz , Andrew Cagney , In-Reply-To: References: <5.1.0.14.1.20020702200247.00a31960@mailhost.iprg.nokia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-SW-Source: 2002-07/txt/msg00040.txt.bz2 > > > > Hi, > > > > I start the gdb stub on the target by: > > gdbstart -s 38400 -t /dev/ttyS0 > > and start the gdb on the development box by: > > gdb vmlinux > > gdb) > > gdb) set remotebaud 38400 > > gdb) target remote my-server-ipaddr:port #note, the port I put > > here is the serial port# on the server, > > #not L4 port, correct? > >No, you have to use telnet port here. Hi, normally, I use the command: telent server-ipaddr 2001 to access its port 1. (2002 for port 2, 2003 for port 3 ...) It looks like console server already map its L4 port into serial port. Thanks GF