This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi I am on travel this week but I thought we had this problem solved. I poked on a build server I used but can't find the change and it doesn't look to be committed. The issue was that the contents of read_attr_t has changed and the Ada definition of the same structure needs to be updated. This is defined in pthread.h in newlib or an installed tools. The Ada version is in gcc/ada/s-osinte-rtems.ads. Currently the Ada version is smaller than the C version and it is just luck that something important isn't overwritten and we get a simple crash. The other pthread_*_attr_t structures should be double checked as well. --joel sherrill On 10/25/2015 12:59 PM, Arnaud Charlet wrote:
I would like to know from where Complete_Master is called to break there and find out why it uses the wrong id.Why don't you simply put a breakpoint on Complete_Master?That's how I found out about the wrong/weird Self_Id.Then you should also get a backtrace which will give you extra info.You can also build hello.adb with the -gnatD switch to debug at the code expansion level where you'll see the call to Complete_Master.Thank you, that option helps a lot. Will check out the generated code tomorrow.Glad to hear it. Arno
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |