Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Step into problem

It looks like you're not passing the a and b arguments to printf, only the format string.

Greg

On Sep 23, 2006, at 2:48 AM, yang ke wrote:

Hi,
 
I am using sdm from ptp 1.0 to debug testMPI.c.  I add to testMPI.c a simplest function,
 
int f(int a, char *b)
{
     printf("a = %d,b=%s\n");
     return 0;
}
 
in main() I add  f(10,"testing");  and insert a function breakpoint at f(), RUN...
then I step into f. sdm suspend at line "printf", but arguments a=0,b=0x000..0 ,
Step over printf,  still a=0,b=0x00...0  what is more, sdm complains a fatal error,and quit
 
Does anybody have such experience?




Stay in the know. Pulse on the new Yahoo.com. Check it out.
_______________________________________________
ptp-dev mailing list


Back to the top