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 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,

 

eclipse: cdt neon2

tcf plugin: http://download.eclipse.org/tools/tcf/builds/neon/nightly 

 

I used eclipse toolbar to connect tcf


 

in its objects path tab to attach symbol


 

If there something wrong during setup Path Map ?

 

Regards,

Min

 

 

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

 

From: tcf-dev-bounces@xxxxxxxxxxx [mailto:tcf-dev-bounces@xxxxxxxxxxx] On Behalf Of Tsung Min Huang
Sent: Tuesday, January 10, 2017 11:24 PM
To: TCF Development
Subject: 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



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.


Back to the top