i program is following :
main()
{
int *P ;
*p= 12345;
}
this p pointer is not new memory,why memscape can't find it ?
i program is following :
main()
{
int *P ;
*p= 12345;
}
this p pointer is not new memory,why memscape can't find it ?
Memory debugging ONLY see's newly allocated and de-allocated memory. If the program has not done a malloc, memscape, or TotalView's memory debugger will not know about it. At best, TotalView should tell you that 'p' is unallocated, but you don't quite have that view of variables inside memscape.
Does that make sense?
Regards,
Pete Thompson
TotalView Customer Services