From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19306 invoked by alias); 22 Jul 2002 16:35:14 -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 19272 invoked from network); 22 Jul 2002 16:35:11 -0000 Received: from unknown (HELO multitech.co.in) (202.54.39.98) by sources.redhat.com with SMTP; 22 Jul 2002 16:35:11 -0000 Received: from multitech.co.in (megha [192.168.1.45]) by multitech.co.in (8.12.1/8.12.1) with ESMTP id g6MGSAbt001087; Mon, 22 Jul 2002 21:58:11 +0530 Message-ID: <3D3C33F9.54517685@multitech.co.in> Date: Mon, 22 Jul 2002 09:35:00 -0000 From: Vinayak P Risbud Organization: Multi-Tech Software Systems X-Accept-Language: en MIME-Version: 1.0 To: Ecos-Discuss CC: gdb Subject: remote debugging Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-07/txt/msg00224.txt.bz2 Hi, I am trying to use remote debugging using LAN (Tcp/Ip) on Redboot What I understood till now is, 1. the main polls net_io_test function during idle time 2. The function net_io_test checks for tcp_sock.state == _ESTABLISHED 3. If established, the control calls net_io_assume_console to setup debug channel. But, after this, how the flow goes, I am not able to trace. my gdb client on remote PC sends $Hc-1#09 command, over tcp/ip link. I am not able to trace, where and how exactly this gdb command is read and processed (i.e trap is generated ?) Can any one help in tracing the flow ? Thanks in advance Vinayak