From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24298 invoked by alias); 21 Oct 2008 18:58:52 -0000 Received: (qmail 24287 invoked by uid 22791); 21 Oct 2008 18:58:52 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 21 Oct 2008 18:58:17 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id m9LIuCoo001709; Tue, 21 Oct 2008 14:56:12 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m9LIuA7n031643; Tue, 21 Oct 2008 14:56:10 -0400 Received: from opsy.redhat.com (vpn-13-238.rdu.redhat.com [10.11.13.238]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id m9LIu9KT005507; Tue, 21 Oct 2008 14:56:10 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id D8F0B508073; Tue, 21 Oct 2008 12:56:08 -0600 (MDT) To: "Ulrich Weigand" Cc: brobecker@adacore.com (Joel Brobecker), gdb-patches@sourceware.org Subject: Re: [RFC/RFA] add struct parse_context to all command functions References: <200810211811.m9LIBW3I020177@d12av02.megacenter.de.ibm.com> From: Tom Tromey Reply-To: Tom Tromey X-Attribution: Tom Date: Tue, 21 Oct 2008 18:58:00 -0000 In-Reply-To: <200810211811.m9LIBW3I020177@d12av02.megacenter.de.ibm.com> (Ulrich Weigand's message of "Tue\, 21 Oct 2008 20\:11\:32 +0200 \(CEST\)") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2008-10/txt/msg00517.txt.bz2 Tom> FWIW I also have a vaguely similar reorganization in the wings. I Tom> removed all accesses to global variables from the value_print and Tom> val_print hierarchy, in favor of a "print options" argument. So, my Tom> interest in this sort of thing is not totally academic. Ulrich> Great! I was just about to start implementing something along those Ulrich> lines (to pull current_gdbarch out of the print routines) ... Do you Ulrich> already have a version of that patch you could share? My only patch almost certainly wouldn't apply to head (I made it against the python branch so it has some extraneous stuff in it). Would you like it, even though it is pretty broken? Tom