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

Document created by Aaronwu Employee on Aug 25, 2013
Version 1Show Document
  • View in full screen mode

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.

Attachments

    Outcomes