From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26715 invoked by alias); 8 Jul 2002 16:49:58 -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 26706 invoked from network); 8 Jul 2002 16:49:56 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 8 Jul 2002 16:49:56 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 04B623C65; Mon, 8 Jul 2002 12:49:51 -0400 (EDT) Message-ID: <3D29C2AF.9040904@ges.redhat.com> Date: Mon, 08 Jul 2002 09:49: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: Eli Zaretskii Cc: Quality Quorum , "KONG, Gangfeng" , Daniel Jacobowitz , gdb@sources.redhat.com Subject: Re: Remote target behind console server References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-07/txt/msg00082.txt.bz2 > If L4 means something else, then use another port. >> >> >> How to debug a connection: >> >> 1. Make sure that terminal server is properly configured and the >> cable is good: connect port 4 on the terminal server to the some known >> working target, e.g. standar UNIX serial port, do 'telnet server-ip >> 2004' and type stuff on console and check responses. >> >> 2. Make sure that gdb stub is workin properly: connect port 4 on the >> terminal server to debug port on the targe, start gdb stub, again do >> 'telnet server-ip 2004' and make sure that by hitting return you >> cause gdb to send you properly formed packets. >> >> 3. Start gdb and do 'target remote server-ip:2004' I would be very >> surprised if it does not work at the point. > > > Does anyone think that some of the above should be in the manual? Yes!