Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 349047

Summary: no source available for memcpy()
Product: [Eclipse Project] Platform Reporter: Ben P <ben.patel>
Component: DebugAssignee: Platform-Debug-Inbox <platform-debug-inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact:
Severity: major    
Priority: P3 CC: Michael_Rennie
Version: 4.1   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Ben P CLA 2011-06-10 10:57:20 EDT
Build Identifier: 3.4.1

somehow memcpy() does not work which is builtin in STWorkbench(4.0.1.) Eclipse3.4.1. It only works when I implement following code before using memcpy
.........
while(1)
{
int byte_sent=(canSock,&mycanframe,sizeof(mycanframe));
memcpy(p,buff,7);
} 
..........

as soon as i comment out int byte_sent line and copmile it to run or to debug, it breaks displaying message "no source available for memcpy()" and then button "View Assembly" below it. 

It also happens when i use 'free(buff)' seperately in differently file. It display message "no source availbale for raise()" 

I have been looking in to this issue for long time and i dont have clue why is it doing it. 

Please let me know how to resolve it.

Reproducible: Always

Steps to Reproduce:
1. create Hello world ANSI C code
2. in main, intialize variables to be used with memcpy
3. use memcpy anywhere in the code. Please read in details which is part of the code I have written.
Comment 1 Ben P CLA 2011-06-10 10:59:39 EDT
please send me an email if you want to look at my source or call me at 2158978175 so I can explain better in to this issue.
Comment 2 Michael Rennie CLA 2011-06-10 11:13:45 EDT
Eclipse does not develop STWorkbench. 

I would open this issue with them: https://bugzilla.stlinux.com/