Hi Min,
I don’t see anything wrong. However, it looks like you are using Target Explorer, and I don’t know much about it. I use plain old launch dialog box to start the debugger.
Your “Destination” file name looks somewhat suspicious. With the symbol server, it is best to use unmodified output of GCC as the symbol file.
Regards,
Eugene
From: tcf-dev-bounces@xxxxxxxxxxx [mailto:tcf-dev-bounces@xxxxxxxxxxx]
On Behalf Of Tsung Min Huang
Sent: Wednesday, January 11, 2017 8:10 PM
To: TCF Development
Subject: Re: [tcf-dev] can tcf remote debug attach symbol from host
Hi Eugene,
I used eclipse toolbar to connect tcf

in its objects path tab to attach symbol

If there something wrong during
setup Path Map ?
2017-01-12 1:11 GMT+08:00 Eugene Tarassov <eugene.tarassov@xxxxxxxxxx>:
Hi Min,
Your symbols info appears corrupted, debugger tries to read variable value from invalid address and gets “Input/output error”. 0xfffffff4
is not a valid address for the variable. How exactly do you setup Path Map?
Regards,
Eugene
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:
int* iptr = (int*)malloc(sizeof(int) * 1);
long *lptr = (long*)malloc(sizeof(long) * 1);
printf("ival: %d, iptr: %d\n", ival, *iptr);
printf("lval: %ld, lptr: %ld\n", lval, *lptr);
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy,
or forward this email message or any attachments. Delete this email message and any attachments immediately.
_______________________________________________
tcf-dev mailing list
tcf-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tcf-dev
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy,
or forward this email message or any attachments. Delete this email message and any attachments immediately.
|