From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20622 invoked by alias); 13 Oct 2014 18:09:41 -0000 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 Received: (qmail 20610 invoked by uid 89); 13 Oct 2014 18:09:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail-vc0-f175.google.com Received: from mail-vc0-f175.google.com (HELO mail-vc0-f175.google.com) (209.85.220.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 13 Oct 2014 18:09:39 +0000 Received: by mail-vc0-f175.google.com with SMTP id id10so6162133vcb.6 for ; Mon, 13 Oct 2014 11:09:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=X+nxRBUbkM97qu3ocMJmSfey60PbKinxeFd9WsKmz1Q=; b=X2g8RUzE6aS8bKc7xuALRv4LHs49DDaDh4xCvOa8ZiUGqHPLMIEu7J7qvocfsdXF/5 QFpkoTT8Nd6w7nG/B9oki6EePc8qDV+bIA2xuYKF0Cs0BHHESIx6HhO50wlJAud80YAv nxk2q0wq4Kj7kZanPrP4fx7OxjQg7ylsMi7gd78KgyxhuLX5OvmksWQT4V8HAhvmJKC2 nXNHevesjpJJcECYTX0tzyeGv79v9B74ZoCx6xHDt8NFA9eR0JVczQqFFq1EAjSosYTh dX1NZ98KwKfiuxnHh0Co+qcayr+cwpDCxp4lm2dX9IyuWl7Oj0t9S2Jei8VMRTFuuJc+ lWgQ== X-Gm-Message-State: ALoCoQkmknlZ+DmMg1vRUJ4+0/v3yvTmaTZaac3uk4vf2FKdtPVLXskiNKTNnGNSwEvTz1MI5Qda MIME-Version: 1.0 X-Received: by 10.52.26.116 with SMTP id k20mr231855vdg.82.1413223777274; Mon, 13 Oct 2014 11:09:37 -0700 (PDT) Received: by 10.52.161.132 with HTTP; Mon, 13 Oct 2014 11:09:37 -0700 (PDT) In-Reply-To: References: Date: Mon, 13 Oct 2014 18:09:00 -0000 Message-ID: Subject: Re: [PATCH][PR python/17364] Cleanup registration of __gdb_builtin_type_bound128 pretty-printer From: Doug Evans To: "Tedeschi, Walfred" Cc: "gdb-patches@sourceware.org" , Joel Brobecker Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg00325.txt.bz2 Hi. The 7.8.1 release is blocked on this. If you don't have cycles, I can do it today. Have we reached an agreement on what to do? On Sun, Oct 12, 2014 at 11:56 PM, Tedeschi, Walfred wrote: > Hello Doug, > > I will prepare a patch as soon as I have some cycles. > > Thanks and regards, > -Fred > > -----Original Message----- > From: gdb-patches-owner@sourceware.org [mailto:gdb-patches-owner@sourceware.org] On Behalf Of Doug Evans > Sent: Thursday, October 09, 2014 6:23 PM > To: Tedeschi, Walfred > Cc: gdb-patches@sourceware.org > Subject: Re: [PATCH][PR python/17364] Cleanup registration of __gdb_builtin_type_bound128 pretty-printer > > On Mon, Oct 6, 2014 at 12:33 AM, Tedeschi, Walfred wrote: >> Hi Doug, >> >> I have also submitted a patch for this last week. Though I was not creating a new directory for pretty printers. >> https://sourceware.org/ml/gdb-patches/2014-09/msg00867.html >> >> I would like though to understand a bit more your comment on having x86 on the name of the register. What is the purpose of that? >> (I could change it in case) > > Imagine a multi-arch gdb with several arches having bounds registers. > How do we distinguish them in the pretty-printer namespace? > >> About registration of the pretty printer. We could do the following: >> 1. Register an event listener for new obj_files. >> 2. Query at every event the architecture of the inferior. (In case we >> had an event new_inferior loaded it would be cheaper.) 3. In case of x86 or amd64 we can then register the pretty-printer for the bound registers. > > We could do something like that for 7.9 alright. > At the moment it feels like a bit of overkill just for one pretty-printer. > And for 7.8.1 I want to do something simple. > Intel GmbH > Dornacher Strasse 1 > 85622 Feldkirchen/Muenchen, Deutschland > Sitz der Gesellschaft: Feldkirchen bei Muenchen > Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk > Registergericht: Muenchen HRB 47456 > Ust.-IdNr./VAT Registration No.: DE129385895 > Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052