From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15123 invoked by alias); 25 Sep 2009 18:40:24 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 15105 invoked by uid 22791); 25 Sep 2009 18:40:23 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org From: Tom Tromey To: Dragos Tatulea Cc: keiths@redhat.com, archer@sourceware.org, jan.kratochvil@redhat.com, cmoller@redhat.com Subject: Re: [Keith Seitz] Re: [tools-team] Status 2008-09-01 References: <6d1764b50909230708l60a4be26ocf3bf6aef198710@mail.gmail.com> Reply-To: Tom Tromey Date: Fri, 25 Sep 2009 18:40:00 -0000 In-Reply-To: <6d1764b50909230708l60a4be26ocf3bf6aef198710@mail.gmail.com> (Dragos Tatulea's message of "Wed, 23 Sep 2009 17:08:08 +0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2009-q3/txt/msg00250.txt.bz2 >>>>> "Dragos" == Dragos Tatulea writes: Dragos> I changed objectprint to on by default on Jan's suggestion, but Dragos> this breaks some other cases like this one (from ptr-typedef Dragos> test) Dragos> gdb> p foz_ptr Dragos> $1 = (struct foo *) 0x0 Dragos> instead of Dragos> (foz*) This seems like a generic bug, though. So, it could be fixed either separately or at the same time the default is flipped. Dragos> Back to the previous case: Jan suggested printing an Dragos> error/warning for the user saying that the ptr has a different Dragos> type (and maybe printing the type). What do you think? I think it depends on how often the warning would trigger, and where it would be printed (e.g., would it show up mid-struct?). Tom