From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 73655 invoked by alias); 19 Jun 2017 09:34:54 -0000 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 Received: (qmail 73136 invoked by uid 89); 19 Jun 2017 09:34:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=sk:technic, printers, chief, Chief X-HELO: mail.askmonty.org Received: from mail.askmonty.org (HELO mail.askmonty.org) (173.203.201.185) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 19 Jun 2017 09:34:52 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.askmonty.org (Postfix) with ESMTP id 8A421813218; Mon, 19 Jun 2017 09:34:55 +0000 (UTC) Received: from mail.askmonty.org ([127.0.0.1]) by localhost (mail.askmonty.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vOJCMJlZulzr; Mon, 19 Jun 2017 09:34:53 +0000 (UTC) Received: from meddwl (dslb-088-077-220-049.088.077.pools.vodafone-ip.de [88.77.220.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: serg) by mail.askmonty.org (Postfix) with ESMTPSA id 76657813217; Mon, 19 Jun 2017 09:34:53 +0000 (UTC) Date: Mon, 19 Jun 2017 09:34:00 -0000 From: Sergei Golubchik To: Simon Marchi Cc: gdb@sourceware.org Subject: Re: Duel reloaded: Duel.py (and a PrettyPrinter decorator) Message-ID: <20170619093440.GA11411@meddwl.fritz.box> References: <20170619090342.GA9305@meddwl.fritz.box> <2dcff9eb662d42f4d8be8d12295c7d64@polymtl.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2dcff9eb662d42f4d8be8d12295c7d64@polymtl.ca> User-Agent: Mutt/1.5.24 (2015-08-30) X-SW-Source: 2017-06/txt/msg00016.txt.bz2 Hi, Simon! > > Here it is: https://github.com/vuvova/gdb-tools > > > > This repository also includes a helper to simplify writing pretty > > printers. It removes all the boilerplate code that gdb requires, you > > only need to write the value-to-string function itself. > > I really like using an annotation for declaring a pretty printer. I > wonder if we could (legally-wise and technically-wise) steal that idea > :). For upstream gdb? As far as I'm concerned - yes, on both points :) Regards, Sergei Chief Architect MariaDB and security@mariadb.org