------- Comment #8 from acme at mandriva dot com  2006-11-13 16:16 -------
> > OK, I thought that this was due to something like what you described, even 
> > not
> > knowing that much about gcc internals, but I thought that even in this case 
> > the
> > DW_TAG_inlined_subroutine would be emitted, or hoped to as it would allow 
> > me to
> > do what I want with my tools :-\
> 
> There is nothing to emit debug info about, so we don't.
> 

Well, at least gcc emits this:

 <1><a2f2>: Abbrev Number: 65 (DW_TAG_subprogram)
     DW_AT_sibling     : <a324>
     DW_AT_name        : (indirect string, offset: 0x4515): __task_rq_lock
     DW_AT_decl_file   : 1
     DW_AT_decl_line   : 378
     DW_AT_prototyped  : 1
     DW_AT_type        : <9a2f>
     DW_AT_inline      : 3      (declared as inline and inlined)

But no DW_TAG_inlined_subroutine, as we've been discussing:

[EMAIL PROTECTED] net-2.6.20]$ readelf -wi 
../OUTPUT/qemu/net-2.6.20/kernel/sched.o
| grep a2f2
     DW_AT_sibling     : <a2f2>
 <1><a2f2>: Abbrev Number: 65 (DW_TAG_subprogram)
[EMAIL PROTECTED] net-2.6.20]$

:-\


-- 


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

Reply via email to