From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31463 invoked by alias); 15 Jan 2004 08:02:26 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 31456 invoked from network); 15 Jan 2004 08:02:25 -0000 Received: from unknown (HELO balder.inter.net.il) (192.114.186.15) by sources.redhat.com with SMTP; 15 Jan 2004 08:02:25 -0000 Received: from zaretski (pns03-196-191.inter.net.il [80.230.196.191]) by balder.inter.net.il (Mirapoint Messaging Server MOS 3.3.7-GR) with ESMTP id DIO21004; Thu, 15 Jan 2004 10:02:16 +0200 (IST) Date: Thu, 15 Jan 2004 08:02:00 -0000 From: "Eli Zaretskii" To: mec.gnu@mindspring.com (Michael Elizabeth Chastain) Message-Id: <9743-Thu15Jan2004095829+0200-eliz@elta.co.il> CC: marcel.lanz@ds9.ch, gdb@sources.redhat.com In-reply-to: <20040114141730.72F934B104@berman.michael-chastain.com> (mec.gnu@mindspring.com) Subject: Re: gdb, c++ & namespaces Reply-to: Eli Zaretskii References: <20040114141730.72F934B104@berman.michael-chastain.com> X-SW-Source: 2004-01/txt/msg00188.txt.bz2 > Date: Wed, 14 Jan 2004 09:17:30 -0500 (EST) > From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) > > (gdb) set print object off > (gdb) print *dp > (gdb) set print object on > (gdb) print *dp > > When "set print object" is off, gdb will print an object of the type > of the pointer (we call this the "static type"). When "set print object" > is on, gdb will print the type of the object in memory (we call this > the "dynamic type". The manual doesn't mention "static type" and "dynamic type" in the section that describes "set pruint". I think it should, if this terminology is to be widely accepted.