Bug 4981 - libdwfl returns 0 scopes for static inlined functions
Summary: libdwfl returns 0 scopes for static inlined functions
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-08-29 20:26 UTC by Sami Wagiaalla
Modified: 2007-08-30 20:40 UTC (History)
0 users

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


Attachments
executable for test case (2.55 KB, application/octet-stream)
2007-08-29 20:28 UTC, Sami Wagiaalla
Details

Note You need to log in before you can comment on or make changes to this bug.
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.