From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8555 invoked by alias); 25 Feb 2011 14:25:41 -0000 Received: (qmail 8539 invoked by uid 22791); 25 Feb 2011 14:25:37 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 25 Feb 2011 14:25:31 +0000 Received: (qmail 17498 invoked from network); 25 Feb 2011 14:25:29 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 25 Feb 2011 14:25:29 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [PATCH 18/18] document the new VxWorks port Date: Fri, 25 Feb 2011 14:44:00 -0000 User-Agent: KMail/1.13.5 (Linux/2.6.35-25-generic; KDE/4.6.0; x86_64; ; ) Cc: Joel Brobecker , Jerome Guitton , Eli Zaretskii References: <1298569763-18784-1-git-send-email-brobecker@adacore.com> <201102251159.21372.pedro@codesourcery.com> <20110225141114.GI2495@adacore.com> In-Reply-To: <20110225141114.GI2495@adacore.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201102251425.19942.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-02/txt/msg00766.txt.bz2 On Friday 25 February 2011 14:11:14, Joel Brobecker wrote: > > Of put this under the "info os" mechanism? > > I don't think that we want to print the list of running VxWorks tasks > under "info os", but I think that the suggestion is interesting for > other, more static, things. For instance, VxWorks version, WTX protocol > version, etc. Keeping this in my mind for a rainy day... The "os" stands for OS-awareness, not for specific things about the OS. E.g., "info os processes" prints the list of all running processes under linux. It works like "shell ps" on the target, just like Jerome mentioned. Here's what we have in one of our local trees: (top-gdb) info os Type Description processes Listing of all processes procgroups Listing of all process groups threads Listing of all threads files Listing of all file descriptions sockets Listing of all internet-domain sockets shm Listing of all shared-memory regions semaphores Listing of all semaphores msg Listing of all message queues modules Listing of all loaded kernel modules (and a corresponding -info-os MI command, and corresponding Eclipse/DSF support for listing all these tables, while being completely agnostic of the tables it is actually showing.) -- Pedro Alves