Error "No source file named"

Mahmood Naderan nt_mahmood@yahoo.com
Sun Aug 8 17:15:15 GMT 2021


>You might also find -fdebug-prefix-map useful. It allows you to tell
>the debugger where to locate source files for object files if the
>source files have been relocated to a directory like /lib/src. It may
>help here, too.

Jeffrey,
That gcc switch needs two paths (old and new).
I don't know what is old and new then.


Regards,
Mahmood





More information about the Gdb mailing list