From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29626 invoked by alias); 3 Jul 2002 15:40: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 29580 invoked from network); 3 Jul 2002 15:40:26 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 3 Jul 2002 15:40:26 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 23AF13CC9; Wed, 3 Jul 2002 11:40:25 -0400 (EDT) Message-ID: <3D231AE8.9000300@ges.redhat.com> Date: Wed, 03 Jul 2002 08:40:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020613 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "KONG, Gangfeng" Cc: Daniel Jacobowitz , Quality Quorum , gdb@sources.redhat.com Subject: Re: Remote target behind console server References: <5.1.0.14.1.20020628183650.02b3c6b0@mailhost.iprg.nokia.com> <3D1CE7D9.4050607@ges.redhat.com> <5.1.0.14.1.20020628183650.02b3c6b0@mailhost.iprg.nokia.com> <5.1.0.14.1.20020702200247.00a31960@mailhost.iprg.nokia.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-07/txt/msg00032.txt.bz2 > 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 Just BTW, since it is TCP, setting the remote baud won't have any effect. Suggest adding a: (gdb) set debug remote 1 here. It will cause GDB to print all remote traffic and that will hopefully make it easier to see why things are going wrong. You should be able to compare it to a working direct connection. > gdb) target remote my-server-ipaddr:port #note, the port I put here is the serial port# on the server, > enjoy, Andrew