From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14426 invoked by alias); 2 Jan 2012 19:41:26 -0000 Received: (qmail 14416 invoked by uid 22791); 2 Jan 2012 19:41:25 -0000 X-SWARE-Spam-Status: No, hits=-7.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 02 Jan 2012 19:41:08 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q02Jf30v020714 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 2 Jan 2012 14:41:03 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q02Jf30R026199; Mon, 2 Jan 2012 14:41:03 -0500 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id q02Jf1lP014139; Mon, 2 Jan 2012 14:41:01 -0500 From: Tom Tromey To: Pedro Alves Cc: Doug Evans , Stan Shebs , Eli Zaretskii , gdb-patches@sourceware.org Subject: Re: [PATCH] Add extra 'info os' information types for Linux (trunk and 7.4) References: <4E95DC58.7030805@codesourcery.com> <4ECD3496.1070609@codesourcery.com> <4EF9497B.9020501@earthlink.net> <4EFA54FF.1080307@earthlink.net> <4F019E45.5010906@gmail.com> <4F020332.90308@gmail.com> Date: Mon, 02 Jan 2012 19:41:00 -0000 In-Reply-To: <4F020332.90308@gmail.com> (Pedro Alves's message of "Mon, 02 Jan 2012 19:19:14 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: 2012-01/txt/msg00064.txt.bz2 >>>>> "Pedro" == Pedro Alves writes: Pedro> Certainly. "info os" is all about structured data. Whether exposed as Pedro> raw xml or as some other pre-parsed structured form is arguable; it Pedro> could be said to fit fit in the general theme of exposing mi Pedro> structures to python as well? Not sure. Recently I have been thinking that emit_stop_event (emitting normal stops as Python events) should probably call bpstat_print and expose the resulting information as fields of the event. This in turn would need a new ui-out that can create Python objects. If there is sufficient need we can generalize this idea. There's a PR about this already. Tom