Hi:
I build tcf-server and tcf-agent from latest git code
Put tcf-server on my host, and tcf-agent on remote
in config in server folder I change the ERVICE_Expressions to 1
8<==== config.h ========
..
#define SERVICE_SysMonitor 0
#define SERVICE_Expressions 1
#define SERVICE_DPrintf 0
.....
8<==== config.h ========
8<==== mem_edit.c =======
#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;
char lval = 2;
char *lptr = (char*)malloc(sizeof(char) * 1);
*lptr = lval;
while(1) {
printf("ival: %d, iptr: %d\n", ival, *iptr);
printf("lval: %ld, lptr: %ld\n", lval, *lptr);
sleep(10);
}
return 0;
}
8<==== mem_edit.c =======
* Compile/link using GCC
gcc -g -gdwarf-2 -o mem_edit_unstrip mem_edit.c
strip -s -o mem_edit mem_edit
* On the remote start the program
* In Eclipse CDT create a new "Generic Connection" of type "TCP" on
Select remote agent under TCF Proxy(127.0.0.1)
* And attach the process, tcf can stop at break point, however the variables looks can not retrieve symbol correctly ?

Any ideas?
Thank you for your help,
Min