Bug 4677

Summary: dwfl does not return the correct scopes for an inlined function
Product: frysk Reporter: Sami Wagiaalla <swagiaal>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2785    

Description Sami Wagiaalla 2007-06-20 21:04:21 UTC
[swagiaal@toner frysk.patches]$ ./frysk-imports/elfutils/tests/addrscopes -e
./frysk-core/frysk/pkglibdir/funit-scopes 0x8048369
./frysk-imports/elfutils/tests/addrscopes: dwarf_getscopes: .debug_ranges
section missing

but address falls within an inlined function:
 <2><be>: Abbrev Number: 8 (DW_TAG_inlined_subroutine)
     DW_AT_abstract_origin: <9d>	
     DW_AT_low_pc      : 0x8048365	
     DW_AT_high_pc     : 0x804836a	
     DW_AT_call_file   : 1	
     DW_AT_call_line   : 13	
and .debug_ranges is not missing.

frysk.rt.TestFrameDebugInfo.testFrameScopes fails
Comment 1 Sami Wagiaalla 2007-08-30 20:40:21 UTC
2007-08-30  Sami Wagiaalla  <swagiaal@redhat.com>

	* TestFrameDebugInfo.java (testFrameCompilerIlinedFucntions): enabled test;
	bug fixed in elfutils 0.129.
	(testFrameScopes): Corrected, and enabled test; bug fixed in elfutils 0.129.