[Libav-user] Using Eclipse to debug *.asm files

Robert Beattie robert.scott.beattie at gmail.com
Sat Sep 30 01:27:26 EEST 2023


OK, I think I answered my own question:

 --disable-stripping

rob at newpc:~/Documents/viper/git_modules/udxfilters$ file
libavcodec/x86/v210enc.o
libavcodec/x86/v210enc.o: ELF 64-bit LSB relocatable, x86-64, version 1
(SYSV), with debug_info, not stripped

Now it goes to the source. But does not really step through it. I assume
because of the macros. Apologies for the noise,

Thanks

On Fri, 29 Sept 2023 at 22:45, Robert Beattie <
robert.scott.beattie at gmail.com> wrote:

> PS Possibly debug info is not being generated?
>
> rob at newpc:~/Documents/viper/git_modules/udxfilters$ file
> libavcodec/x86/v210enc.o
> libavcodec/x86/v210enc.o: ELF 64-bit LSB relocatable, x86-64, version 1
> (SYSV), not stripped
> rob at newpc:~/Documents/viper/git_modules/udxfilters$ file
> libavcodec/v210enc.o
> libavcodec/v210enc.o: ELF 64-bit LSB relocatable, x86-64, version 1
> (SYSV), with debug_info, not stripped
>
> Thanks
>
> On Fri, 29 Sept 2023 at 21:35, Robert Beattie <
> robert.scott.beattie at gmail.com> wrote:
>
>> Does anyone have experience with this? In particular I am trying to set a
>> breakpoint in this function and step through it but failing:
>>
>> cglobal v210_planar_pack_10, 5, 5, 4+cpuflag(avx2), y, u, v, dst, width ;
>>
>> I just get:
>>
>> No source available for "ff_v210_planar_pack_10_avx2() at 0x5555562667c0"
>>
>> I am using the following configure (I have tried both nasm and yasm and
>> the flahs seem OK):
>>
>>  ./configure --disable-optimizations --extra-cflags=-Og
>> --extra-cflags=-O0 --extra-cflags=-fno-omit-frame-pointer --enable-debug=3
>> --extra-cflags=-fno-inline  --enable-gpl --enable-version3
>>
>> Thanks
>>
>
>
> --
> It's a magical world, Hobbes, ol'buddy...lets go exploring!
>


-- 
It's a magical world, Hobbes, ol'buddy...lets go exploring!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20230929/535cea57/attachment.htm>


More information about the Libav-user mailing list