In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] 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 
[EMAIL PROTECTED]         | terrific, so now you know - be good boys.

_______________________________________________
Bug-gdb mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gdb

Reply via email to