From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10383 invoked by alias); 19 Sep 2007 14:28:36 -0000 Received: (qmail 10349 invoked by uid 22791); 19 Sep 2007 14:28:36 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 19 Sep 2007 14:28:27 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id CE8E698298; Wed, 19 Sep 2007 14:28:25 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id A4B8098152; Wed, 19 Sep 2007 14:28:25 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1IY0XQ-0003AV-QL; Wed, 19 Sep 2007 10:28:24 -0400 Date: Wed, 19 Sep 2007 14:58:00 -0000 From: Daniel Jacobowitz To: Peter Skvarka Cc: gdb@sourceware.org Subject: Re: RMT ERROR : failed to get remote thread list Message-ID: <20070919142824.GA12164@caradoc.them.org> Mail-Followup-To: Peter Skvarka , gdb@sourceware.org References: <20070919132008.GA29463@caradoc.them.org> <20070919142115.044421973AD@debian.softinengines.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070919142115.044421973AD@debian.softinengines.com> User-Agent: Mutt/1.5.15 (2007-04-09) 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: 2007-09/txt/msg00153.txt.bz2 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