2008-01-11 06:48:46     mplayer - not found gdb symbols

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

2008-01-11 06:48:46     mplayer - not found gdb symbols

Vanikuopolous KAVS (INDIA)

Message: 49497    Hi,

   I am using 2007R1 toolchain and distribution on a custom bf533 board.

 

I have taken the build script and patch from user/blkfn-apps directory and

are able to compile and run the mplayer successfully.

 

But, i am unable to debug even after adding the -g switch. When i use

bfin-linux-uclibc-gdb mplayer

 

it says (no debugging symbols found)

 

 

Has anyone tried to debug mplayer using gdb?

 

Thanks for your time

 

KAVS

QuoteReplyEditDelete

 

 

2008-01-11 15:01:03     Re: mplayer - not found gdb symbols

Mike Frysinger (UNITED STATES)

Message: 49516    the default build of mplayer will not build with -g, add a ton of optimizations, and will most likely strip things, so you'll need to change those build settings

QuoteReplyEditDelete

 

 

2008-01-12 01:23:56     Re: mplayer - not found gdb symbols

Vanikuopolous KAVS (INDIA)

Message: 49520    Hi Mike,

   Thanks for the pointers. As i mentioned i have already added -g

but, i have not removed optimization. I commented the LDFLAGS = -s

(strip all symbols) and immediately i was able to debug using gdb .

I feel this small info can be added in bfin - gdb docs wiki.

 

Thanks again,

KAVS

Attachments

    Outcomes