From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4219 invoked by alias); 13 Apr 2012 11:20:43 -0000 Received: (qmail 4207 invoked by uid 22791); 13 Apr 2012 11:20:42 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD 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; Fri, 13 Apr 2012 11:20:21 +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 q3DBKLwZ028484 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 13 Apr 2012 07:20:21 -0400 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q3DBKJlC003432 for ; Fri, 13 Apr 2012 07:20:20 -0400 Message-ID: <4F880BF3.1050405@redhat.com> Date: Fri, 13 Apr 2012 11:20:00 -0000 From: Phil Muldoon MIME-Version: 1.0 To: gdb@sourceware.org Subject: Annotations, level 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-04/txt/msg00092.txt.bz2 Hi all, For the last while I have been working on bringing the concept of Frame filters to the Python API. This has been going super. However in "print_frame_info", annotations are attached to the printed frame sub-sections -- but only if annotations are set to "2". To my knowledge, emacs is the only user "I know about" that still uses annotations, and it uses level "3". Ordinarily, this would not be a problem, but the annotation call for the beginning of frame printing requires a frame architecture. This spoils the abstract notion of Frame filters (frame filters can wrap a frame, or just simulate one). I could probably mock up a dummy-frame, but I got to be thinking, is it worth that effort? I don't think so. These annotations are only exposed to level 2, and after (an admittedly brief) search, I can no find no product or project that uses annotations beyond emacs. As the annotation calls for frames is exclusively "2" (IE, == 2), and, as far as I can tell, emacs does not use these markups. So what's the approach here? Do I have to support it just because it is there? Cheers, Phil