Hmm.... I found a guide on the web.. I hope it's proper/suitable. I might be able to do it again if needed..
beginning here:
~$ exportgdb vlc
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <
http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<
http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/vlc...Reading symbols from /usr/lib/debug/usr/bin/vlc...done.
done.
(gdb) set pagination 0
(gdb) run /dev/dvd
Starting program: /usr/bin/vlc /dev/dvd
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
VLC media player 2.0.5 Twoflower (revision 2.0.5-0-g1661b7d)
[New Thread 0x7ffff7fd6700 (LWP 11500)]
[New Thread 0x7ffff228a700 (LWP 11501)]
[0x605108] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[New Thread 0x7ffff1af1700 (LWP 11502)]
[Thread 0x7ffff228a700 (LWP 11501) exited]
"sni-qt/11492" WARN 22:46:20.374 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE
[New Thread 0x7ffff228a700 (LWP 11503)]
[New Thread 0x7fffe81a6700 (LWP 11504)]
libdvdnav: Using dvdnav version 4.2.0
libdvdread: Using libdvdcss version 1.2.10 for DVD access
[Thread 0x7fffe81a6700 (LWP 11504) exited]
libdvdnav: DVD Title: BRAVE
libdvdnav: DVD Serial Number: 411D8356
libdvdnav: DVD Title (Alternative): BRAVE
libdvdnav: Unable to find map file '/home/mbman/.dvdnav/BRAVE.map'
libdvdnav: DVD disk reports itself with Region mask 0x00f60000. Regions: 1 4
libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient
libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0000020b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000004fc
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0000051a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x00000569
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_0.VOB at 0x000007ae
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x00035c0b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x000007ae
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x00035c0b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x000007ae
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x00035c0b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x000007ae
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x00035c0b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x000007ae
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x00035c0b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x00309bb9
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x00309ff1
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x0030d3b5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_0.VOB at 0x0030fb64
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_11_1.VOB at 0x0031a11b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_12_1.VOB at 0x00325533
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_13_1.VOB at 0x00326a72
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_14_1.VOB at 0x00326a72
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_15_1.VOB at 0x00326a72
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_16_1.VOB at 0x00326a72
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_17_1.VOB at 0x0035de4b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_18_1.VOB at 0x0035de4b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_19_1.VOB at 0x0035de4b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_20_1.VOB at 0x0035de4b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_21_0.VOB at 0x0038bad1
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_21_1.VOB at 0x0038bb54
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_22_0.VOB at 0x003eedd8
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_22_1.VOB at 0x003eee48
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_23_1.VOB at 0x003eee61
libdvdread: Elapsed time 0
libdvdread: Found 23 VTS's
libdvdread: Elapsed time 0
libdvdnav: decoder.c: [WARNING, unknown bits: 1000000000080000]
libdvdnav: decoder.c: [WARNING, unknown bits: 1000000000000000]
*** libdvdread: CHECK_VALUE failed in /build/buildd/libdvdread-4.2.0/src/ifo_read.c:915 ***
*** for pgc->cell_playback_offset != 0 ***
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff228a700 (LWP 11503)]
0x00007fffedc6f76c in dvdnav_describe_title_chapters () from /usr/lib/libdvdnav.so.4
(gdb) bt
#0 0x00007fffedc6f76c in dvdnav_describe_title_chapters () from /usr/lib/libdvdnav.so.4
#1 0x00007fffede83f0d in DemuxTitles (p_demux=0x7fffdc001e98) at dvdnav.c:1011
#2 Open (p_this=0x7fffdc001e98) at dvdnav.c:326
#3 0x00007ffff795f6ee in vlc_module_load (p_this=0x7fffdc001e98, psz_capability=0x7ffff7998b32 "access_demux", psz_name=<optimized out>, b_strict=true, probe=0x7ffff795f090 <generic_start>) at modules/modules.c:347
#4 0x00007ffff791de78 in demux_New (p_obj=0x7fffe4000b78, p_parent_input=0x7fffe4000b78, psz_access=0x7fffdc002250 "file", psz_demux=0x7ffff79a147a "", psz_location=<optimized out>, s=0x0, out=0x7fffdc002cd0, b_quick=false) at input/demux.c:196
#5 0x00007ffff792aac9 in InputSourceInit (p_input=0x7fffe4000b78, in=0x7fffe4000d50, psz_mrl=0x6362b0 "file:///dev/dvd", psz_forced_demux=<optimized out>, b_in_can_fail=false) at input/input.c:2400
#6 0x00007ffff792baaf in Init (p_input=0x7fffe4000b78) at input/input.c:1258
#7 0x00007ffff792f1c5 in Run (obj=0x7fffe4000b78) at input/input.c:550
#8 0x00007ffff76c8e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#9 0x00007ffff71f1cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x0000000000000000 in ?? ()
(gdb)
ending here