From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29012 invoked by alias); 19 Sep 2007 14:58:30 -0000 Received: (qmail 29003 invoked by uid 22791); 19 Sep 2007 14:58:29 -0000 X-Spam-Check-By: sourceware.org Received: from 37.210.forpsi.net (HELO debian.softinengines.com) (81.2.210.37) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 19 Sep 2007 14:58:24 +0000 Received: from lyzard (unknown [147.175.3.227]) by debian.softinengines.com (Postfix) with ESMTP id 22E661973AD for ; Wed, 19 Sep 2007 16:56:33 +0200 (CEST) Reply-To: From: "Peter Skvarka" To: Subject: RE: RMT ERROR : failed to get remote thread list Date: Wed, 19 Sep 2007 20:20:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <20070919142824.GA12164@caradoc.them.org> Message-Id: <20070919145633.22E661973AD@debian.softinengines.com> 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/msg00154.txt.bz2 If I understand good, I must to compile gdbserver for my target ARM9, and place it and start it on my embedded board ? Does exist some tutorial for this ? Peter -----Original Message----- From: Daniel Jacobowitz [mailto:drow@false.org] Sent: Wednesday, September 19, 2007 4:28 PM To: Peter Skvarka Cc: gdb@sourceware.org Subject: Re: RMT ERROR : failed to get remote thread list On Wed, Sep 19, 2007 at 04:22:59PM +0200, Peter Skvarka wrote: > I need to run "info threads" dgb command to see address of text > section for some running executable. > Does not exist some other way how to determine address of text section > of loaded executable ? > "info threads" is in gdb only way I know, but I dont know gdb very good. Again, you can not debug Linux userspace programs by using OpenOCD and JTAG. You need to use the gdbserver program. When you connect to your board using OpenOCD, you can only debug the kernel and you won't see a threads list. -- Daniel Jacobowitz CodeSourcery