Skip to content

Debugging without using -wrapper #8

Open
@davidmalcolm

Description

@davidmalcolm

The debugging page mentions -wrapper, but maybe we should document the other way of debugging gdb: passing in -v, and then looking for the line that invokes cc1 (or whatever), as per https://gcc-newbies-guide.readthedocs.io/en/latest/binaries-and-processes.html

Once you've got that command line (usually long and complicated), you can run it under gdb directly via:

gdb --args COMMAND LINE ARGS GO HERE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions