[vlc-devel] How to GDB into MJPEG decoder - What source file to set breakpoint?

Rémi Denis-Courmont rem at videolan.org
Mon Jan 26 18:21:25 CET 2009

Le lundi 26 janvier 2009 19:01:15 Ed Sutton, vous avez écrit :
> I run GDB and try unsuccessfully to hit a breakpoint in one of the
> libvacodec modules using:
> gdb /usr/local/av/bin/vlc
> (gdb) break mjpegdec.c:ff_mjpeg_decode_sof
> (gdb) #gdb says no source file found and I tell it "Yes" to put a
> breakpoint on future *shared library load* (gdb) Run -vvv udp://@:1234
> Is my problem that gdb never finds the ffmpeg symbolic info?  Or am I in
> the wrong source code?

That symbol should be in libavformat or libavcodec, which are linked from the 
respective VLC plugins.

Rémi Denis-Courmont

More information about the vlc-devel mailing list