From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18538 invoked by alias); 2 Sep 2010 17:04:41 -0000 Received: (qmail 18324 invoked by uid 22791); 2 Sep 2010 17:04:38 -0000 X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Sep 2010 17:04:33 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L8400700Q13IS00@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Thu, 02 Sep 2010 20:03:46 +0300 (IDT) Received: from HOME-C4E4A596F7 ([77.126.202.93]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L84007Y1Q28FN00@a-mtaout22.012.net.il>; Thu, 02 Sep 2010 20:03:46 +0300 (IDT) Date: Thu, 02 Sep 2010 18:40:00 -0000 From: Eli Zaretskii Subject: Re: RFA: fix PR python/11792 In-reply-to: To: Tom Tromey Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83y6bkhy8d.fsf@gnu.org> References: <83sk1wj6tq.fsf@gnu.org> <83pqwzkeyi.fsf@gnu.org> <83zkw0j15r.fsf@gnu.org> X-IsSubscribed: yes 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: 2010-09/txt/msg00102.txt.bz2 > From: Tom Tromey > Cc: gdb-patches@sourceware.org > Date: Thu, 02 Sep 2010 09:36:57 -0600 > > Eli> Now I'm confused: earlier you told that the current language doesn't > Eli> matter, but now you say that only information emitted by the C++ > Eli> compiler will do, which seems a contradiction. What am I missing? > > The current language is a gdb setting. It is independent of objects in > the inferior. That's a misunderstanding, then: I didn't mean (and didn't say) "current language". So I understand now that this feature will work only while debugging a C++ program that includes RTTI for the object in question. Otherwise, it will just return the type of the value as in "ptype foo", is that right? If so, maybe just mention this fact, since someone who debugs a non-C++ program will not necessarily understand what is meant by "the static type". Thanks.