According to https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html

you should add another objcopy command

objcopy --add-gnu-debuglink=foo.debug foo

for debuglink method. While it also says some versions
 of strip command also can do this part automatically
I think we can try first method just for seeing now it
works (I suspect fedora debug packages not showing all info
actually related to this missing command).

build-tested on termux only.