This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: exp/2070: gdb doesn't resolve namespace when print expression


The following reply was made to PR exp/2070; it has been noted by GNATS.

From: Daniel Jacobowitz <drow@false.org>
To: myan@microstrategy.com
Cc: gdb-gnats@sources.redhat.com, myan@gmail.com
Subject: Re: exp/2070: gdb doesn't resolve namespace when print expression
Date: Thu, 19 Jan 2006 12:11:19 -0500

 On Thu, Jan 19, 2006 at 04:58:51PM -0000, myan@microstrategy.com wrote:
 > Linux 2.4.21-20.Elsmp x86_64
 > >Description:
 > gdb doesn't resolve class name if it is in user namescape.
 > 
 > (gdb) p *(NBase::Frog *) 0x501010
 > No symbol "NBase" in current context.
 > (gdb) p *(Frog *) 0x501010
 > A syntax error in expression, near `) 0x501010'.
 > 
 > It appears, gdb doesn't understand either (Frog *) or (NBase::Frog *) correctly.
 
 What version of G++ are you using?
 
 
 -- 
 Daniel Jacobowitz
 CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]