I am using gdb to look at assembly but I want to print the assembly instructions and function names to a file for further analysis.

  • SpaceNoodle
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    Sounds like you might want to use objdump instead.

    You could also have gcc generate the intermediate .S files.