Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tcf-dev] error C2039: ‘user’ : is not a member of ‘_CONTEXT’ (cpudefs-mdep.c )

Hi Stefan,

cpudefs-mdep.c in agent\machine\arm\tcf is intended to be used to build native user-mode agent for Linux on ARM.
The file is not used to build Windows debugger - because Windows does not run on ARM.

If you want to build a non-native agent - one that runs on a machine other than your target, you have to set:
   #define ENABLE_ContextProxy     1
In this case all contents of the file is ifdef-ed out anyway.

Regards,
Eugene

-----Original Message-----
From: tcf-dev-bounces@xxxxxxxxxxx [mailto:tcf-dev-bounces@xxxxxxxxxxx] On Behalf Of Stefan.Falk@xxxxxxxxxxxx
Sent: Thursday, January 30, 2014 5:15 AM
To: tcf-dev@xxxxxxxxxxx
Subject: [tcf-dev] error C2039: ‘user’ : is not a member of ‘_CONTEXT’ (cpudefs-mdep.c )

Sorry I have to bother you guys but I am not sure what’s the problem here.

As I compile the agend I get errors in cpudefs-mdep.c in agent\machine\arm\tcf\ telling me “error C2039: ‘user’ : is not a member of ‘_CONTEXT’”

Line 46 to 63 cause that error since ‘user’ seems never to be defined. The only place where ‘user’ gets defined is in regset.h but only inside the

#if defined(__linux__) section.

Anyway, I can build the solution as the compiler ignores the incomplete cpudefs-mdep.obj file but it’s still a little annoying. I might be able to fix it on my own but I wanted to let you to know. Maybe you already know a solution and the problem is with me.

Best regards.

_______________________________________________
tcf-dev mailing list
tcf-dev@xxxxxxxxxxx
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