[FFmpeg-devel] Moving if(constant expression) to preprocessor?

Luca Barbato lu_zero
Mon Sep 20 15:47:00 CEST 2010


On 09/20/2010 03:31 PM, M?ns Rullg?rd wrote:
>> step backward, 
> 
> Huh?

gdb) help rs
Step program backward until it reaches the beginning of another source line.
Argument N means do this N times (or till program stops for another reason).
(gdb) help rsi
Step backward exactly one instruction.
Argument N means do this N times (or till program stops for another reason).
(gdb) help rn
Step program backward, proceeding through subroutine calls.
Like the "reverse-step" command as long as subroutine calls do not happen;
when they do, the call is treated as one instruction.
Argument N means do this N times (or till program stops for another reason).
(gdb) help rni
Step backward one instruction, but proceed through called subroutines.
Argument N means do this N times (or till program stops for another reason).

>> if it fails that it is not only not wonderfull but not even average

reverse debugging is implemented elsewhere? For elf? Remote debugging?
online evaluation/call?

gdb is quite good IMHO.

lu

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero




More information about the ffmpeg-devel mailing list