Bug 4677 - dwfl does not return the correct scopes for an inlined function
Summary: dwfl does not return the correct scopes for an inlined function
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks: frysk-elfutils
  Show dependency treegraph
 
Reported: 2007-06-20 21:04 UTC by Sami Wagiaalla
Modified: 2007-08-30 20:40 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sami Wagiaalla 2007-06-20 21:04:21 UTC
running:
[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.

also:
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.