From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16825 invoked by alias); 13 Feb 2008 13:40:53 -0000 Received: (qmail 16817 invoked by uid 22791); 13 Feb 2008 13:40:52 -0000 X-Spam-Check-By: sourceware.org Received: from fg-out-1718.google.com (HELO fg-out-1718.google.com) (72.14.220.159) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 13 Feb 2008 13:40:35 +0000 Received: by fg-out-1718.google.com with SMTP id e12so9479fga.0 for ; Wed, 13 Feb 2008 05:40:32 -0800 (PST) Received: by 10.86.91.12 with SMTP id o12mr2424216fgb.72.1202910032703; Wed, 13 Feb 2008 05:40:32 -0800 (PST) Received: by 10.86.78.13 with HTTP; Wed, 13 Feb 2008 05:40:32 -0800 (PST) Message-ID: <5800c1cc0802130540x5d0c4776jc984744c01b2dc29@mail.gmail.com> Date: Wed, 13 Feb 2008 13:40:00 -0000 From: "Bin Chen" To: gdb@sourceware.org Subject: Whats things the gdbserver and gdb communicates when startup a program? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-02/txt/msg00088.txt.bz2 Hello, I am debugging a remote program in a MIPS board. This program is small but it uses a large library(8M bytes, stripped). The library in my host is far more large, unstripped, about 10M bytes. When I start the program in the target: gdbserver :9988 GtkLanucher Then start gdb from host: gdb GtkLauncher blahblahblah... > target remote 192.168.3.2:9988 Then the gdb stuck(actually is transferring some data thru network, according the capture from ethereal). Honestly my target's network card is buggy, not capable to run in a long time. After several minutes, all things broken... I just want to know whats data is transfered? In my case how much data need to transferred to / from target/host? Thanks. Bin