From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6088 invoked by alias); 13 Jan 2009 02:39:39 -0000 Received: (qmail 6079 invoked by uid 22791); 13 Jan 2009 02:39:38 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_05,J_CHICKENPOX_35,J_CHICKENPOX_43 X-Spam-Check-By: sourceware.org Received: from nwd2mail10.analog.com (HELO nwd2mail10.analog.com) (137.71.25.55) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 13 Jan 2009 02:38:57 +0000 Received: from nwd2mhb2.analog.com ([137.71.6.12]) by nwd2mail10.analog.com with ESMTP; 12 Jan 2009 21:38:56 -0500 Received: from nwd2exm4.ad.analog.com (nwd2exm4.ad.analog.com [10.64.53.123]) by nwd2mhb2.analog.com (8.9.3 (PHNE_28810+JAGae91741)/8.9.3) with ESMTP id VAA05907; Mon, 12 Jan 2009 21:38:57 -0500 (EST) Received: from chinexm1.ad.analog.com ([10.99.27.42]) by nwd2exm4.ad.analog.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 12 Jan 2009 21:38:55 -0500 Received: from [10.99.29.103] ([10.99.29.103]) by chinexm1.ad.analog.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 13 Jan 2009 10:38:52 +0800 Message-ID: <496BFEBB.3030404@analog.com> Date: Tue, 13 Jan 2009 02:39:00 -0000 From: Jie Zhang User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: Keith Seitz CC: insight@sourceware.org Subject: Re: Test insight with gdbserver References: <496B1CC3.9040905@analog.com> <496B7274.5060705@redhat.com> In-Reply-To: <496B7274.5060705@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2009-q1/txt/msg00002.txt.bz2 Keith Seitz wrote: > Jie Zhang wrote: >> Is there a way to run gdb.gdbtk with gdbserver? It seems to me that >> gdb.gdbtk cannot load program using gdbserver. Is there anything I >> missed? > > If this is supported by gdb, it should work. Can you run gdb's test > suite with gdbserver as the target? What does your site.exp look like? > I can run gdb's testsuite with gdbserver. But I cannot do the same for insight. It seems that insight-support.exp can only deal with four target types: monitor, simulator, sid and native. Neither of them will start gdbserver on target machine. It looks to me that gdb.gdbtk sets file by using gdbtk_test_file and then uses the gdb commands in info(init), info(target), info(load) and info(run) to start test. It does not use gdb_load which is used in the other part of gdb testsuite. Which site.exp do you want to take a look? Regards, Jie