2010-12-21 09:16:11     Debugging FDPIC in 2010R1-RC5

2010-12-21 09:16:11     Debugging FDPIC in 2010R1-RC5

Kolja Waschk (GERMANY)

Message: 96914   

Hi,

bfin-linux-uclibc-gdb doesn't find my shared libraries anymore. "info sharedlibrary" gives

(gdb) info sharedlibrary

warning: Unable to fetch _dl_debug_addr->r_brk (at address 0x00000008) from dynamic linker

warning: Unable to find dynamic linker breakpoint function.

GDB will be unable to debug shared library initializers

and track explicitly loaded dynamic code.

BTW, is it a good idea to enable the MPU while debugging an application using Xenomai? I wonder if this will help me to find actual problems in my own application (rather than in the environment).

Kolja

QuoteReplyEditDelete

2010-12-21 10:15:45     Re: Debugging FDPIC in 2010R1-RC5

Mike Frysinger (UNITED STATES)

Message: 96915   

you're using both 2010R1 on the target and the host right ?

the ldso info isnt really available until you run to main.  so if you simply connected and tried to view info, it probably wouldnt work.

QuoteReplyEditDelete

2010-12-21 10:40:39     Re: Debugging FDPIC in 2010R1-RC5

Kolja Waschk (GERMANY)

Message: 96917   

> the ldso info isnt really available until you run to main.

Ah! That was my fault. Now I see that the actual problem which I was looking for (symbols not loaded for one specific library) was caused by a path mismatch and not some general problem. Thanks!!!

Kolja

QuoteReplyEditDelete

2010-12-21 23:16:04     Re: Debugging FDPIC in 2010R1-RC5

Sonic Zhang (CHINA)

Message: 96936   

We have never run Xenomai with MPU enabled. MPU may break real time application/driver by large interrupt and schedule latency.

  • Created
Was this helpful?

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.