public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/45110]  New: GCC does not emit DW_AT_object_pointer
@ 2010-07-28 17:31 tromey at gcc dot gnu dot org
  2010-07-29  8:59 ` [Bug debug/45110] " jakub at gcc dot gnu dot org
  2010-07-29 19:47 ` jakub at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: tromey at gcc dot gnu dot org @ 2010-07-28 17:31 UTC (permalink / raw)
  To: gcc-bugs

DWARF 3 introduced DW_AT_object_pointer, for marking the "this" parameter
of a method.  GCC does not emit this, so currently GDB has to use a 
heuristic to detect this.


-- 
           Summary: GCC does not emit DW_AT_object_pointer
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tromey at gcc dot gnu dot org


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


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

* [Bug debug/45110] GCC does not emit DW_AT_object_pointer
  2010-07-28 17:31 [Bug debug/45110] New: GCC does not emit DW_AT_object_pointer tromey at gcc dot gnu dot org
@ 2010-07-29  8:59 ` jakub at gcc dot gnu dot org
  2010-07-29 19:47 ` jakub at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-07-29  8:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jakub at gcc dot gnu dot org  2010-07-29 08:58 -------
Created an attachment (id=21347)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21347&action=view)
gcc46-pr45110.patch

Untested fix.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED


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


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

* [Bug debug/45110] GCC does not emit DW_AT_object_pointer
  2010-07-28 17:31 [Bug debug/45110] New: GCC does not emit DW_AT_object_pointer tromey at gcc dot gnu dot org
  2010-07-29  8:59 ` [Bug debug/45110] " jakub at gcc dot gnu dot org
@ 2010-07-29 19:47 ` jakub at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-07-29 19:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jakub at gcc dot gnu dot org  2010-07-29 19:47 -------
Subject: Bug 45110

Author: jakub
Date: Thu Jul 29 19:47:02 2010
New Revision: 162691

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=162691
Log:
        PR debug/45110
        * dwarf2out.c (dwarf_attr_name): Handle DW_AT_object_pointer.
        (gen_formal_types_die): Add DW_AT_object_pointer in methods.
        (gen_subprogram_die): Likewise.  Remove it when removing declaration's
        formal parameters.
        (gen_decl_die): Change return type to dw_die_ref, return what
        gen_formal_parameter_die returned.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c


-- 


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


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

end of thread, other threads:[~2010-07-29 19:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-28 17:31 [Bug debug/45110] New: GCC does not emit DW_AT_object_pointer tromey at gcc dot gnu dot org
2010-07-29  8:59 ` [Bug debug/45110] " jakub at gcc dot gnu dot org
2010-07-29 19:47 ` jakub at gcc dot gnu 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).