From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1195 invoked by alias); 12 Dec 2003 23:01:25 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 1188 invoked from network); 12 Dec 2003 23:01:24 -0000 Received: from unknown (HELO mail-out4.apple.com) (17.254.13.23) by sources.redhat.com with SMTP; 12 Dec 2003 23:01:24 -0000 Received: from mailgate1.apple.com (a17-128-100-225.apple.com [17.128.100.225]) by mail-out4.apple.com (8.12.10/8.12.9) with ESMTP id hBCN1Nnc027043 for ; Fri, 12 Dec 2003 15:01:23 -0800 (PST) Received: from scv1.apple.com (scv1.apple.com) by mailgate1.apple.com (Content Technologies SMTPRS 4.2.1) with ESMTP id ; Fri, 12 Dec 2003 15:01:19 -0800 Received: from [17.201.22.21] (moleja.apple.com [17.201.22.21]) by scv1.apple.com (8.12.9/8.12.9) with ESMTP id hBCN0iww025220; Fri, 12 Dec 2003 15:00:44 -0800 (PST) In-Reply-To: <16346.10340.488095.107663@nick.uklinux.net> References: <16319.64137.458928.417189@nick.uklinux.net> <3FC3F85F.8050007@gnu.org> <16332.423.456414.834703@nick.uklinux.net> <16341.13503.256676.933542@nick.uklinux.net> <3FD75E64.1020508@gnu.org> <16346.10340.488095.107663@nick.uklinux.net> Mime-Version: 1.0 (Apple Message framework v606) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: gdb-patches@sources.redhat.com From: Jason Molenda Subject: Re: RFC (gdb/mi): -stack-list-locals Date: Fri, 12 Dec 2003 23:01:00 -0000 To: Nick Roberts X-SW-Source: 2003-12/txt/msg00343.txt.bz2 On Dec 12, 2003, at 12:43 PM, Nick Roberts wrote: > Jason Molenda writes: > >> ...Right now we have a >> non-standard meaning for -stack-list-locals 2, and the FSF gdb will >> have a different meaning for 2 with this patch going in. No >> complaints >> or anything, but it's unpleasant. > > I don't see why both our changes can't be accommodated. Well, if we're both implementing a different meaning for "2" that's a pretty tough thing to accommodate. :-) I didn't mean my statement as a criticism of this change or the work you're doing -- this is the sort of thing we inevitably have come up when we have lots of changes vs. the mainline. We made our bed, etc. > This patch uses a > switch statement for each value of print_values. If for some reason > Apple need > -stack-list-locals 2, I dont mind using another value. "3" would be very nice. :) But really, I think Andrew's suggestion is a better approach. Instead of numeric values which represent an arbitrary collection of return values ("2" is "the things Apple's UI would like to get", "3" is "a smaller set of things that don't involve so much communication with the inferior"), text strings are a little less likely to conflict. > Everybody seems to > want Apple's changes, including their management. Rather than being > unpleasant, perhaps this is an opportunity to make the case to that > management > for resources to contribute back to the FSF. Yeah, it's the usual problem. Lots to do, not so much time in which to do it, sigh. J