Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tcf-dev] can tcf remote debug attach symbol from host

Hi Eugene:

Because I also recompile my program put another x86-64 machine as target.

Using server/agent connection In eclipse, in the variables window showed the local variable and work fine.

However, it showed the exception in tip message on AST2500

Maybe, I will tried on my raspberry pi which is arm11 the same as AST2500 to see where is the problem.

My test program looks like this:

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>

int main() {

int ival = 1;
int* iptr = (int*)malloc(sizeof(int) * 1);
*iptr = ival;
long lval = 2;
long *lptr = (long*)malloc(sizeof(long) * 1);
*lptr = lval;

while(1) {
printf("ival: %d,    iptr: %d\n", ival, *iptr);
printf("lval: %ld,   lptr: %ld\n", lval, *lptr);
sleep(1);
}

return 0;
}




Regards,

Min


Back to the top