<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Herman,<br><br>Can you run vlc with ./vlc without the debugger?<br><br>If you can do that you can run vlc and then attach to it with the debugger later.<br><br>Do a 'ps a' and get the PID of the vlc process.<br><br>Then type gdb vlc PID<br><br>where PID is the numeric process ID<br><br>Good luck :)<br><br>-Andrew<br><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Herman Schultz <herman.schultz@gmail.com><br>To: vlc-devel@videolan.org<br>Sent: Wednesday, May 23, 2007 9:28:20 AM<br>Subject: [vlc-devel] Re: Compile VLC for debugging<br><br><br><br><div><span class="gmail_quote">On 5/23/07, <b class="gmail_sendername">Rémi Denis-Courmont</b> <<a
 rel="nofollow" target="_blank" href="mailto:rdenis@simphalempin.com">rdenis@simphalempin.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>On Tue, 22 May 2007 16:11:14 -0500, "Herman Schultz"<br><<a rel="nofollow" target="_blank" href="mailto:herman.schultz@gmail.com">herman.schultz@gmail.com</a>> wrote:<br>> Hi,<br>><br>> I ' ./configure --enable-debug' and then 'make',
<br>> but when I run the final 'vlc', I get  'File format not recognized'<br>error.<br>><br>> $ gdb ./vlc<br>> GNU gdb 6.6-debian<br>> Copyright (C) 2006 Free Software Foundation, Inc.<br>> GDB is free software, covered by the GNU General Public License, and you
<br>> are<br>> welcome to change it and/or distribute copies of it under certain<br>> conditions.<br>> Type "show copying" to see the conditions.<br>> There is absolutely no warranty for GDB.  Type "show warranty" for
<br>> details.<br>> This GDB was configured as "i486-linux-gnu"...<br>> "/home/herman/src/vlc-trunk/vlc": not in executable format: File format<br>> not<br>> recognized<br>><br>> can you please help how can I run vlc under debugger?
<br><br>The solution to this problem has already been posted in this exact same<br>thread. Could you please try self help, and limit questions for difficult<br>issues?</blockquote><div><br><br>Thanks. I did try what a poster suggested, but it just does not work for me:
<br>"We recommend you to use gdb for debugging VLC. Simply running VLC in<br>it, is straight forward: "$ gdb ./vlc" (or similar; depending where<br>your VLC binary is actually located). Using gdb is a bit more
<br>complicated, so please have a look at gdb's documentation."<br><br>Thank you.<br><br><br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
--<br>Rémi Denis-Courmont<br><a rel="nofollow" target="_blank" href="http://www.remlab.net/">http://www.remlab.net/</a><br><br>--<br>This is the vlc-devel mailing-list, see <a rel="nofollow" target="_blank" href="http://www.videolan.org/vlc/">http://www.videolan.org/vlc/</a><br>To unsubscribe, please read 
<a rel="nofollow" target="_blank" href="http://developers.videolan.org/lists.html">http://developers.videolan.org/lists.html</a><br><br></blockquote></div><br>
</div><br></div></div></body></html>