On Apr 25, 2011, at 2:47 PM, Brad Grupczynski wrote:

> 
> On Apr 24, 2011, at 12:21 AM, John Ralls wrote:
> 
>> I also find that it's necessary to link the dSYM directories (which are 
>> built in the individual .libs directories) to be next to their installed 
>> libraries for gdb to be able to find the symbols.
> 
> Ah, yep, I can't expand any of symbols outside of gnucash. So you're saying 
> to make a symbolic link for all of the dSYM directories? And the link would 
> reside where the corresponding .so and .dylib files get put in the install 
> location?
> 
> I think I'm missing something. Can you expand on that? Because I'm not doing 
> anything special with gnucash dSYM.
> 
>> aqbanking-5.0.2 gnucash2$ find . -name "*.dSYM"
> ./src/libs/aqbanking/.libs/libaqbanking.33.dylib.dSYM
> ./src/plugins/backends/aqhbci/plugin/.libs/aqhbci.so.dSYM
> ./src/plugins/backends/aqhbci/plugin/.libs/libaqhbci.19.dylib.dSYM
> ./src/plugins/backends/aqnone/.libs/aqnone.so.dSYM
> ./src/plugins/backends/aqnone/.libs/libaqnone.33.dylib.dSYM
> ./src/plugins/backends/aqofxconnect/plugin/.libs/aqofxconnect.so.dSYM
> ./src/plugins/backends/aqofxconnect/plugin/.libs/libaqofxconnect.7.dylib.dSYM
> ./src/plugins/bankinfo/at/.libs/at.so.dSYM
> ./src/plugins/bankinfo/ca/.libs/ca.so.dSYM
> ./src/plugins/bankinfo/ch/.libs/ch.so.dSYM
> ./src/plugins/bankinfo/de/.libs/de.so.dSYM
> ./src/plugins/bankinfo/us/.libs/us.so.dSYM
> ./src/plugins/imexporters/csv/.libs/csv.so.dSYM
> ./src/plugins/imexporters/ctxfile/.libs/ctxfile.so.dSYM
> ./src/plugins/imexporters/dtaus/.libs/dtaus.so.dSYM
> ./src/plugins/imexporters/eri2/.libs/eri2.so.dSYM
> ./src/plugins/imexporters/ofx/.libs/ofx.so.dSYM
> ./src/plugins/imexporters/openhbci1/.libs/openhbci1.so.dSYM
> ./src/plugins/imexporters/q43/.libs/q43.so.dSYM
> ./src/plugins/imexporters/sepa/.libs/sepa.so.dSYM
> ./src/plugins/imexporters/swift/.libs/swift.so.dSYM
> ./src/plugins/imexporters/xmldb/.libs/xmldb.so.dSYM
> ./src/plugins/imexporters/yellownet/.libs/yellownet.so.dSYM
> ./src/plugins/parsers/dtaus/.libs/dtaus.so.dSYM
> ./src/plugins/parsers/swift/.libs/swift.so.dSYM

I think it's a side effect of libtool, but I'm not sure. Anyway, you only need 
to symlink the dSYM dirs for libraries that you want to debug into. In the 
instant case that would probably be libaqbanking.33.dylib.dSYM and ofx.so.dSYM. 

Regards,
John Ralls

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to