This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to debug gcc


aram bharathi wrote:
hi,
i like to debug arm-elf-gcc line by line using gdb. what command i have to run for this.
whenever i run


gdb arm-elf-gcc a.out

program exits with one error that

starting program : /gcc/bin/arm-elf-gcc
arm-elf-gcc: no input files

Program exited with code 01

what is the correct option for this

gdb --args arm-elf-gcc a.out



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]