public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/8724] Cannot call operator<<(ostream&, MyClass&) from gdb
       [not found] <bug-8724-4717@http.sourceware.org/bugzilla/>
@ 2012-12-14 19:40 ` tromey at redhat dot com
  2013-10-31 19:22 ` tromey at redhat dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: tromey at redhat dot com @ 2012-12-14 19:40 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|symtab                      |c++

-- 
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++/8724] Cannot call operator<<(ostream&, MyClass&) from gdb
       [not found] <bug-8724-4717@http.sourceware.org/bugzilla/>
  2012-12-14 19:40 ` [Bug c++/8724] Cannot call operator<<(ostream&, MyClass&) from gdb tromey at redhat dot com
@ 2013-10-31 19:22 ` tromey at redhat dot com
  2023-12-16 18:04 ` ssbssa at sourceware dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: tromey at redhat dot com @ 2013-10-31 19:22 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=8724

Tom Tromey <tromey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at redhat dot com
             Blocks|                            |16106

-- 
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++/8724] Cannot call operator<<(ostream&, MyClass&) from gdb
       [not found] <bug-8724-4717@http.sourceware.org/bugzilla/>
  2012-12-14 19:40 ` [Bug c++/8724] Cannot call operator<<(ostream&, MyClass&) from gdb tromey at redhat dot com
  2013-10-31 19:22 ` tromey at redhat dot com
@ 2023-12-16 18:04 ` ssbssa at sourceware dot org
  2023-12-17 16:00 ` tromey at sourceware dot org
  2023-12-17 18:06 ` ssbssa at sourceware dot org
  4 siblings, 0 replies; 5+ messages in thread
From: ssbssa at sourceware dot org @ 2023-12-16 18:04 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=8724

Hannes Domani <ssbssa at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ssbssa at sourceware dot org

--- Comment #2 from Hannes Domani <ssbssa at sourceware dot org> ---
Calling operator<< works just fine for me since at least gdb-8.1:

(gdb) p operator<< (cout, obj)
$1 = (std::ostream &) @0x13f2e3980: <incomplete type>

-- 
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++/8724] Cannot call operator<<(ostream&, MyClass&) from gdb
       [not found] <bug-8724-4717@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2023-12-16 18:04 ` ssbssa at sourceware dot org
@ 2023-12-17 16:00 ` tromey at sourceware dot org
  2023-12-17 18:06 ` ssbssa at sourceware dot org
  4 siblings, 0 replies; 5+ messages in thread
From: tromey at sourceware dot org @ 2023-12-17 16:00 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=8724

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at sourceware dot org

--- Comment #3 from Tom Tromey <tromey at sourceware dot org> ---
How about "p cout << obj" ?

-- 
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++/8724] Cannot call operator<<(ostream&, MyClass&) from gdb
       [not found] <bug-8724-4717@http.sourceware.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2023-12-17 16:00 ` tromey at sourceware dot org
@ 2023-12-17 18:06 ` ssbssa at sourceware dot org
  4 siblings, 0 replies; 5+ messages in thread
From: ssbssa at sourceware dot org @ 2023-12-17 18:06 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=8724

--- Comment #4 from Hannes Domani <ssbssa at sourceware dot org> ---
(In reply to Tom Tromey from comment #3)
> How about "p cout << obj" ?

Right, forgot to test the obvious, that works for me since gdb-8.2.1:
```
(gdb) p cout << obj
1 4.57307e-318
$1 = (std::ostream &) @0x13fa33980: <incomplete type>
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2023-12-17 18:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-8724-4717@http.sourceware.org/bugzilla/>
2012-12-14 19:40 ` [Bug c++/8724] Cannot call operator<<(ostream&, MyClass&) from gdb tromey at redhat dot com
2013-10-31 19:22 ` tromey at redhat dot com
2023-12-16 18:04 ` ssbssa at sourceware dot org
2023-12-17 16:00 ` tromey at sourceware dot org
2023-12-17 18:06 ` ssbssa at sourceware dot org

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).