This is the mail archive of the gdb-prs@sources.redhat.com 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]

c++/1448: GDB doesn't understand the global scope operator.


>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:


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