This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
c++/1448: GDB doesn't understand the global scope operator.
- From: carlton at bactrian dot org
- To: gdb-gnats at sources dot redhat dot com
- Date: 12 Nov 2003 00:29:15 -0000
- Subject: c++/1448: GDB doesn't understand the global scope operator.
- Reply-to: carlton at bactrian dot org
>Number: 1448
>Category: c++
>Synopsis: GDB doesn't understand the global scope operator.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Nov 12 00:38:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: carlton@bactrian.org
>Release: unknown-1.0
>Organization:
>Environment:
mainline GDB, 2003-11-11
>Description:
GDB doesn't know about the global scope operator, i.e.
that, given,
foo() { std::cout << "global foo\n"; }
namespace N {
foo() { std::cout << "N::foo\n"; ::foo(); }
}
then the expression '::foo()' within N::foo refers
to the global foo() function.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: