[MPlayer-dev-eng] source level debugging in insight?

Jim Hauxwell james at dattrax.co.uk
Thu Mar 18 23:21:02 CET 2004


It won't compile with anything below -O2 and source lines are not available
at this level.  The code shows in the debugger, but you can't physically set
any breakpoints.

I've managed to extract the info I needed with printfs, so it's not too much
of a problem.

Thanks

Jim


-----Original Message-----
From: mplayer-dev-eng-bounces at mplayerhq.hu
[mailto:mplayer-dev-eng-bounces at mplayerhq.hu] On Behalf Of D Richard Felker
III
Sent: 18 March 2004 22:04
To: mplayer-dev-eng at mplayerhq.hu
Subject: Re: [MPlayer-dev-eng] source level debugging in insight?

On Thu, Mar 18, 2004 at 08:06:50PM -0000, Jim Hauxwell wrote:
> Hi,
> 
>  
> 
> I'm running on an Intel platform under cygwin, and want to perform source
> level debugging in mplayer.  When I configure to -enable-debug=1  I still
> get -O2, which is too high to set individual lines as breakpoints in
insight
> or gdb for that matter.  When I remove the -O2 I get the following message
> on compile

Either change it to -O1 or debug with -O2. It's not that hard. What
are you trying to debug, anyway?

Rich

_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng at mplayerhq.hu
http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng






More information about the MPlayer-dev-eng mailing list