Bug 4981

Summary: libdwfl returns 0 scopes for static inlined functions
Product: frysk Reporter: Sami Wagiaalla <swagiaal>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2785    
Attachments: executable for test case

Description Sami Wagiaalla 2007-08-29 20:26:59 UTC
for the following program:

static void crash (){
  char* a = 0;
  a[0] = 0;
}

int main (int argc, char **argv){
  crash();
  return 0;
}

crash is inlined by the compiler and scopes are not returned at the point of the
sigfault.
Comment 1 Sami Wagiaalla 2007-08-29 20:28:36 UTC
Created attachment 1976 [details]
executable for test case
Comment 2 Sami Wagiaalla 2007-08-30 20:40:31 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.