public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/49366] New: pointer-to-member-function not given value in DW_TAG_template_value_param
@ 2011-06-10 16:09 tromey at gcc dot gnu.org
  2011-06-10 18:49 ` [Bug debug/49366] " dodji at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tromey at gcc dot gnu.org @ 2011-06-10 16:09 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49366

           Summary: pointer-to-member-function not given value in
                    DW_TAG_template_value_param
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: tromey@gcc.gnu.org


Consider this source:

struct S { void f() { } };
template<void (S::*F) ()> struct T { };
T<&S::f> v;

The DWARF for F is:

 <2><50>: Abbrev Number: 7 (DW_TAG_template_value_param)
    <51>   DW_AT_name        : F        
    <53>   DW_AT_type        : <0x68>   

That is, it has a type but no value.


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

* [Bug debug/49366] pointer-to-member-function not given value in DW_TAG_template_value_param
  2011-06-10 16:09 [Bug debug/49366] New: pointer-to-member-function not given value in DW_TAG_template_value_param tromey at gcc dot gnu.org
@ 2011-06-10 18:49 ` dodji at gcc dot gnu.org
  2013-05-10 22:10 ` dblaikie at gmail dot com
  2014-06-25 18:57 ` tromey at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: dodji at gcc dot gnu.org @ 2011-06-10 18:49 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49366

Dodji Seketeli <dodji at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011.06.10 18:48:56
                 CC|                            |dodji at gcc dot gnu.org
         AssignedTo|unassigned at gcc dot       |dodji at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1


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

* [Bug debug/49366] pointer-to-member-function not given value in DW_TAG_template_value_param
  2011-06-10 16:09 [Bug debug/49366] New: pointer-to-member-function not given value in DW_TAG_template_value_param tromey at gcc dot gnu.org
  2011-06-10 18:49 ` [Bug debug/49366] " dodji at gcc dot gnu.org
@ 2013-05-10 22:10 ` dblaikie at gmail dot com
  2014-06-25 18:57 ` tromey at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: dblaikie at gmail dot com @ 2013-05-10 22:10 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49366

David Blaikie <dblaikie at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dblaikie at gmail dot com

--- Comment #1 from David Blaikie <dblaikie at gmail dot com> ---
Any idea what value it should have? (how GDB would like to have the member
function pointer encoded)


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

* [Bug debug/49366] pointer-to-member-function not given value in DW_TAG_template_value_param
  2011-06-10 16:09 [Bug debug/49366] New: pointer-to-member-function not given value in DW_TAG_template_value_param tromey at gcc dot gnu.org
  2011-06-10 18:49 ` [Bug debug/49366] " dodji at gcc dot gnu.org
  2013-05-10 22:10 ` dblaikie at gmail dot com
@ 2014-06-25 18:57 ` tromey at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at gcc dot gnu.org @ 2014-06-25 18:57 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49366

--- Comment #2 from Tom Tromey <tromey at gcc dot gnu.org> ---
(In reply to David Blaikie from comment #1)
> Any idea what value it should have? (how GDB would like to have the member
> function pointer encoded)

Sorry I didn't reply to this sooner.
Nope, no idea :-)
I think whatever is done here will need a corresponding gdb patch.


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

end of thread, other threads:[~2014-06-25 18:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-10 16:09 [Bug debug/49366] New: pointer-to-member-function not given value in DW_TAG_template_value_param tromey at gcc dot gnu.org
2011-06-10 18:49 ` [Bug debug/49366] " dodji at gcc dot gnu.org
2013-05-10 22:10 ` dblaikie at gmail dot com
2014-06-25 18:57 ` tromey at gcc dot gnu.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).