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,

 

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.


Back to the top