bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with gdb and C++ namespaes


From: Jay Levitt
Subject: Re: Problem with gdb and C++ namespaes
Date: Thu, 10 May 2001 03:13:09 GMT

In article <address@hidden>, address@hidden says...
> I use gdb to debug Test by setting a breakpoint a line 24 and running
> the code.  When I try to print test_ns1::Test::i, I get a "No symbol
> "test_ns1" in current context." error.  I also get a similar error when
> trying to print test_ns2::Test::i.  I can print Test::i, which seems to
> show the value of test_ns1::Test::i.  Here's the output from gdb:

Try single-quoting 'test_ns2::Test::i'.  Does that work?

-- 
Jay Levitt                    | This is not the start of World War III
Chief Mail Systems Architect  | No political ploys
America Online, Inc.          | I think both your constitutions are 
address@hidden         | terrific, so now you know - be good boys.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]