From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8812 invoked by alias); 12 Dec 2002 18:31:53 -0000 Mailing-List: contact ecos-cvs-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Post: List-Help: , Sender: ecos-cvs-owner@sources.redhat.com List-Subscribe: Received: (qmail 8759 invoked by uid 371); 12 Dec 2002 18:31:52 -0000 Date: Thu, 12 Dec 2002 10:31:00 -0000 Message-ID: <20021212183152.8751.qmail@sources.redhat.com> From: nickg@sources.redhat.com To: ecos-cvs@sources.redhat.com Subject: ecos/packages/kernel/current ChangeLog doc/ker ... X-SW-Source: 2002/txt/msg00486.txt.bz2 List-Id: CVSROOT: /cvs/ecos Module name: ecos Changes by: nickg@sourceware.org 2002-12-12 10:31:51 Modified files: packages/kernel/current: ChangeLog packages/kernel/current/doc: kernel.sgml packages/kernel/current/host/instr: dump_instr.c instrument.sh packages/kernel/current/include: instrmnt.h instrument_desc.h kapi.h packages/kernel/current/src/common: kapi.cxx thread.cxx packages/kernel/current/src/instrmnt: meminst.cxx Log message: * src/common/kapi.cxx: * include/kapi.h: Added function cyg_thread_get_next(), cyg_thread_find() and cyg_thread_get_info() to allow the current set of threads to be enumerated, and per-thread information to be retrieved safely. * doc/kernel.sgml: Documented new KAPI calls. * src/common/thread.cxx: Zero unique_id in thread destructor so that a stale thread pointer can be checked for validity. * include/instrmnt.h: Added cyg_instrument_state() to report the current state of an instrumentation flag. Moved ifdef for CYGDBG_KERNEL_INSTRUMENT_MSGS out of within FLAGS ifdef. We can have messages without flags. * src/instrmnt/meminst.cxx: Added cyg_instrument_state() to report the current state of an instrumentation flag. Modified cyg_instrument_msg() in line with header and table changes. * host/instr/dump_instr.c: * host/instr/instrument.sh: * include/instrument_desc.h: Added a final NULL element to the generated table in instrument_desc.h to mark its end. Otherwise code that does not have access to the table definition cannot find its end. Also added ifdefs to allow instrument_desc.h to be used to acquire the structure definition and table pointer.