From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26044 invoked by alias); 25 Sep 2007 11:41:58 -0000 Received: (qmail 26036 invoked by uid 22791); 25 Sep 2007 11:41:57 -0000 X-Spam-Check-By: sourceware.org Received: from rv-out-0910.google.com (HELO rv-out-0910.google.com) (209.85.198.184) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 25 Sep 2007 11:41:55 +0000 Received: by rv-out-0910.google.com with SMTP id l15so1508903rvb for ; Tue, 25 Sep 2007 04:41:54 -0700 (PDT) Received: by 10.141.189.4 with SMTP id r4mr1946524rvp.1190720514263; Tue, 25 Sep 2007 04:41:54 -0700 (PDT) Received: by 10.140.162.13 with HTTP; Tue, 25 Sep 2007 04:41:54 -0700 (PDT) Message-ID: <6b14b5b00709250441v6e04f36bm1553dc901ecb6e17@mail.gmail.com> Date: Tue, 25 Sep 2007 11:48:00 -0000 From: "The Westlakers" To: "The Westlakers" , gdb@sourceware.org Subject: Re: question about GDB message In-Reply-To: <20070925110500.GA29300@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6b14b5b00709242126n5321100m2aad74fd7c7ea58d@mail.gmail.com> <6b14b5b00709242128y54e97509t1c2330a6fc3fa0b@mail.gmail.com> <20070925110500.GA29300@caradoc.them.org> 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: 2007-09/txt/msg00198.txt.bz2 On 9/25/07, Daniel Jacobowitz wrote: > On Tue, Sep 25, 2007 at 12:28:40PM +0800, The Westlakers wrote: > > Hi GDB experts, > > > > I am having problem when I made "target remote:192.1.1.255:6000" > > I can see the packets being sent to the remote target machine, and replied > > > > with right reponding packets. But after that, it prints out: > > > > procfs: couldn't find pid 42000 in procinfo list. > > > > then can not do anything from there. > > How did you configure GDB? It should probably be sparc64-elf if you > are connecting to a no-OS target. > Yes, it is 64 bit ELF. just run gdb on Solaris host and typed the remote target command. 1) I can run 32-bit GDB to get reg file and thread info from the target, even if the image running in the target is 64-bit, I managed to talk in 32-bit. 2) However when run 64-bit GDB, I got the procfs problem. Why GDB 64-bit needs procfs? > -- > Daniel Jacobowitz > CodeSourcery >