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.
You must log in or # to comment.
Sounds like you might want to use objdump instead.
You could also have gcc generate the intermediate .S files.
Objdump doesn’t have function names.
It does if you use it right …