------- Comment #9 from knoxj at att dot net 2008-04-15 13:31 ------- I was going to update my bug report when I noticed Sam's comments. I used "readelf -a -w test_pacs_cp_package.o" to try to see what was happening, and I saw that the compiler was throwing out any information about the Ada definintion. I would have expected the compiler to hang onto the Ada debug information, but use the IMPORT information for code generation. The linker would then resolve the IMPORT name, and the debugger could see the Ada description. I too realized that shared memory was a red herring, and the real problem was simply the IMPORT implementation. Sam's sample illustrates this much better than the source files I submitted.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35880