From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25953 invoked by alias); 28 May 2012 15:55:41 -0000 Received: (qmail 25941 invoked by uid 22791); 28 May 2012 15:55:40 -0000 X-SWARE-Spam-Status: No, hits=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-lb0-f177.google.com (HELO mail-lb0-f177.google.com) (209.85.217.177) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 28 May 2012 15:55:27 +0000 Received: by lbbgg6 with SMTP id gg6so2633775lbb.36 for ; Mon, 28 May 2012 08:55:25 -0700 (PDT) Received: by 10.152.104.171 with SMTP id gf11mr8955451lab.5.1338220525713; Mon, 28 May 2012 08:55:25 -0700 (PDT) Received: from home.pavel.comp (broadband-46-188-26-122.2kom.ru. [46.188.26.122]) by mx.google.com with ESMTPS id gi19sm18900260lab.16.2012.05.28.08.55.23 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 28 May 2012 08:55:24 -0700 (PDT) Received: (from pavel@localhost) by home.pavel.comp (8.14.5/8.13.8) id q4SFtL45013076; Mon, 28 May 2012 19:55:21 +0400 Date: Mon, 28 May 2012 15:55:00 -0000 From: Paul Fertser To: Stanislav Meduna Cc: openocd-devel@lists.sourceforge.net, ecos-devel@ecos.sourceware.org Subject: Re: [OpenOCD-devel] Thread awareness with eCos problem Message-ID: <20120528155520.GN1398@home.lan> References: <4FB79716.9030101@meduna.org> <20120519144905.GD1398@home.lan> <4FC39416.9000600@meduna.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FC39416.9000600@meduna.org> User-Agent: Mutt/1.5.17 (2007-11-30) Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2012-05/txt/msg00005.txt.bz2 Hi, On Mon, May 28, 2012 at 05:04:54PM +0200, Stanislav Meduna wrote: > On 19.05.2012 16:49, Paul Fertser wrote: > > Basically, if you can load the elf file in gdb and you can "print" the > > needed variable, then OpenOCD has access to it too (because it > > basically asks gdb for the offset of a variable it needs). > > Hm, correct me if I'm wrong: I investigated a bit and I'm afraid > that the OpenOCD has an easy access to symbols, but the symbols > won't help me to get an offset of a field in a structure. So true :( a field of a structure is not a symbol ("variable") indeed, i haven't thought about it enough when i was answering, sorry. -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fercerpav@gmail.com