public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11500] gdb does not support smart pointers
       [not found] <bug-11500-4717@http.sourceware.org/bugzilla/>
@ 2012-11-28 17:52 ` tromey at redhat dot com
  2012-11-28 20:03 ` tromey at redhat dot com
  1 sibling, 0 replies; 5+ messages in thread
From: tromey at redhat dot com @ 2012-11-28 17:52 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bmerry at cs dot uct.ac.za

--- Comment #2 from Tom Tromey <tromey at redhat dot com> 2012-11-28 17:52:02 UTC ---
*** Bug 8722 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug c++/11500] gdb does not support smart pointers
       [not found] <bug-11500-4717@http.sourceware.org/bugzilla/>
  2012-11-28 17:52 ` [Bug c++/11500] gdb does not support smart pointers tromey at redhat dot com
@ 2012-11-28 20:03 ` tromey at redhat dot com
  1 sibling, 0 replies; 5+ messages in thread
From: tromey at redhat dot com @ 2012-11-28 20:03 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at redhat dot com> changed:

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

--- Comment #3 from Tom Tromey <tromey at redhat dot com> 2012-11-28 20:03:08 UTC ---
I think this was fixed a while ago.
See smartp.exp in the tree.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug c++/11500] gdb does not support smart pointers
  2010-04-14 14:35 [Bug c++/11500] New: " swagiaal at redhat dot com
  2010-04-14 20:31 ` [Bug c++/11500] " swagiaal at redhat dot com
  2010-04-21 15:20 ` jonathon at quotidian dot org
@ 2010-07-20 15:46 ` swagiaal at redhat dot com
  2 siblings, 0 replies; 5+ messages in thread
From: swagiaal at redhat dot com @ 2010-07-20 15:46 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED


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

------- 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++/11500] gdb does not support smart pointers
  2010-04-14 14:35 [Bug c++/11500] New: " swagiaal at redhat dot com
  2010-04-14 20:31 ` [Bug c++/11500] " swagiaal at redhat dot com
@ 2010-04-21 15:20 ` jonathon at quotidian dot org
  2010-07-20 15:46 ` swagiaal at redhat dot com
  2 siblings, 0 replies; 5+ messages in thread
From: jonathon at quotidian dot org @ 2010-04-21 15:20 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathon at quotidian dot
                   |                            |org


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

------- 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++/11500] gdb does not support smart pointers
  2010-04-14 14:35 [Bug c++/11500] New: " swagiaal at redhat dot com
@ 2010-04-14 20:31 ` swagiaal at redhat dot com
  2010-04-21 15:20 ` jonathon at quotidian dot org
  2010-07-20 15:46 ` swagiaal at redhat dot com
  2 siblings, 0 replies; 5+ messages in thread
From: swagiaal at redhat dot com @ 2010-04-14 20:31 UTC (permalink / raw)
  To: gdb-prs


------- Additional Comments From swagiaal at redhat dot com  2010-04-14 20:31 -------
Here is a better example (Without the template)

#include "stdio.h"

class MyType{
  public:
  void foo(){
    printf("I am foo\n");
  }
};

class SmartPointer{
  MyType* p;
 public:
  SmartPointer(MyType *pointer){
    p = pointer;
  }

  MyType* operator->(){
    return p;
  }

};


int main(){
  MyType mt;

  SmartPointer sp(&mt);
  sp->foo();

  return 0;
}

(gdb) p sp->foo()
Couldn't find method SmartPointer::foo



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1


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

------- 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:[~2012-11-28 20:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-11500-4717@http.sourceware.org/bugzilla/>
2012-11-28 17:52 ` [Bug c++/11500] gdb does not support smart pointers tromey at redhat dot com
2012-11-28 20:03 ` tromey at redhat dot com
2010-04-14 14:35 [Bug c++/11500] New: " swagiaal at redhat dot com
2010-04-14 20:31 ` [Bug c++/11500] " swagiaal at redhat dot com
2010-04-21 15:20 ` jonathon at quotidian dot org
2010-07-20 15:46 ` swagiaal 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).