About 327,000 results
Open links in new tab
  1. Source Path (Debugging with GDB) - sourceware.org

    In addition to the source path, GDB provides a set of commands that manage a list of source path substitution rules. A substitution rule specifies how to rewrite source directories stored in the …

  2. arm - GDB: 'set substitute-path' command does not work ...

    Dec 15, 2024 · The gdb command set substitute-path does not work as expected. I have a .elf arm file and I want to substitute source path for the debug: …

  3. set substitute-path (gdb mode only) - UNAM

    Set a substitution rule for finding source files.Description This command sets a substitution rule for finding source files.

  4. Debugging with GDB - Examining Source Files

    Add directory dirname to the front of the source path. Several directory names may be given to this command, separated by `:' or whitespace. You may specify a directory that is already in …

  5. Debugging with GDB - Source Path - GNU

    Add directory dirname to the front of the source path. Several directory names may be given to this command, separated by `:' (`;' on MS-DOS and MS-Windows, where `:' usually appears as …

  6. How to point GDB to your sources | There is no magic here

    Apr 30, 2017 · There are multiple ways to help GDB find sources, where the easiest ones are directory and set substitute-path commands, though -fdebug-prefix-map is really useful.

  7. Source Path - Debugging with GDB - DESY

    In addition to the source path, gdb provides a set of commands that manage a list of source path substitution rules. A substitution rule specifies how to rewrite source directories stored in the …

  8. Setting GDB to Find Source Files in a New Directory After ...

    Jan 20, 2025 · Conclusion By adjusting the source path in GDB, you ensure that your debugging sessions remain uninterrupted even after relocating your source files.