From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28869 invoked by alias); 23 Nov 2005 03:05:24 -0000 Received: (qmail 28858 invoked by uid 22791); 23 Nov 2005 03:05:24 -0000 X-Spam-Check-By: sourceware.org Received: from sta-204-188-98-138.rockynet.com (HELO hermes.chez-thomas.org) (204.188.98.138) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 23 Nov 2005 03:05:21 +0000 Received: by hermes.chez-thomas.org (Postfix, from userid 2000) id 9716C2C8735F9; Tue, 22 Nov 2005 20:04:45 -0700 (MST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id F0F3B2C8735F8; Tue, 22 Nov 2005 20:04:42 -0700 (MST) From: Gary Thomas To: Good Guy Cc: eCos Discussion In-Reply-To: References: Content-Type: text/plain Date: Wed, 23 Nov 2005 03:05:00 -0000 Message-Id: <1132715082.2805.61.camel@hermes> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Re: listing all threads X-SW-Source: 2005-11/txt/msg00147.txt.bz2 On Tue, 2005-11-22 at 15:12 -0800, Good Guy wrote: > I was looking for a utility function which will list all the threads > (and state associated with each thread) in a running system. Does such > a function or some sample code to help write this function exist? I'm > using ecos 1.3.1. ^^^^^^^^^^ Now some 5+ years old, so you may have challenges ahead. Why not update? Any way, the basic code to do this is in the GDB stubs. Look at .../hal/common//src -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss