public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/8553] GDB doesn't understand the global scope operator.
       [not found] <20031112003800.8553.carlton@bactrian.org>
@ 2010-01-22 21:13 ` tromey at redhat dot com
  2010-06-26  8:22 ` jan dot kratochvil at redhat dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: tromey at redhat dot com @ 2010-01-22 21:13 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From tromey at redhat dot com  2010-01-22 21:13 -------
I tried this with a recent (F11 system) gcc and CVS head gdb,
and it worked fine.

Complete test case:

int func () {
  return 23;
}

namespace N {
  int func () {
    return 2 + ::func();
  }
};

int main ()
{
  return N::func();
}

(gdb) start
Temporary breakpoint 1 at 0x804845e: file pr.cc, line 14.
Starting program: /home/tromey/gnu/PRS/gdb8553/pr 

Temporary breakpoint 1, main () at pr.cc:14
14	  return N::func();
(gdb) s
N::func () at pr.cc:8
8	    return 2 + ::func();
(gdb) p ::func()
$1 = 23
(gdb) p N::func()
$2 = 25


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at redhat dot com
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |7.1


http://sourceware.org/bugzilla/show_bug.cgi?id=8553

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/8553] GDB doesn't understand the global scope operator.
       [not found] <20031112003800.8553.carlton@bactrian.org>
  2010-01-22 21:13 ` [Bug c++/8553] GDB doesn't understand the global scope operator tromey at redhat dot com
@ 2010-06-26  8:22 ` jan dot kratochvil at redhat dot com
  2010-06-26  8:23 ` jan dot kratochvil at redhat dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-06-26  8:22 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From jan dot kratochvil at redhat dot com  2010-06-26 08:22 -------
There is some additional work being done at Bug 11703.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=8553

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/8553] GDB doesn't understand the global scope operator.
       [not found] <20031112003800.8553.carlton@bactrian.org>
  2010-01-22 21:13 ` [Bug c++/8553] GDB doesn't understand the global scope operator tromey at redhat dot com
  2010-06-26  8:22 ` jan dot kratochvil at redhat dot com
@ 2010-06-26  8:23 ` jan dot kratochvil at redhat dot com
  2010-06-26  8:24 ` jan dot kratochvil at redhat dot com
  2010-06-28 20:20 ` jan dot kratochvil at redhat dot com
  4 siblings, 0 replies; 5+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-06-26  8:23 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jan dot kratochvil at redhat
                   |                            |dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=8553

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/8553] GDB doesn't understand the global scope operator.
       [not found] <20031112003800.8553.carlton@bactrian.org>
                   ` (2 preceding siblings ...)
  2010-06-26  8:23 ` jan dot kratochvil at redhat dot com
@ 2010-06-26  8:24 ` jan dot kratochvil at redhat dot com
  2010-06-28 20:20 ` jan dot kratochvil at redhat dot com
  4 siblings, 0 replies; 5+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-06-26  8:24 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |11703
              nThis|                            |


http://sourceware.org/bugzilla/show_bug.cgi?id=8553

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c++/8553] GDB doesn't understand the global scope operator.
       [not found] <20031112003800.8553.carlton@bactrian.org>
                   ` (3 preceding siblings ...)
  2010-06-26  8:24 ` jan dot kratochvil at redhat dot com
@ 2010-06-28 20:20 ` jan dot kratochvil at redhat dot com
  4 siblings, 0 replies; 5+ messages in thread
From: jan dot kratochvil at redhat dot com @ 2010-06-28 20:20 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From jan dot kratochvil at redhat dot com  2010-06-28 20:20 -------
Related fix:
http://sourceware.org/ml/gdb-cvs/2010-06/msg00197.html


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=8553

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-06-28 20:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20031112003800.8553.carlton@bactrian.org>
2010-01-22 21:13 ` [Bug c++/8553] GDB doesn't understand the global scope operator tromey at redhat dot com
2010-06-26  8:22 ` jan dot kratochvil at redhat dot com
2010-06-26  8:23 ` jan dot kratochvil at redhat dot com
2010-06-26  8:24 ` jan dot kratochvil at redhat dot com
2010-06-28 20:20 ` jan dot kratochvil at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).