how to debug gcc

Russell Shaw rjshaw@netspace.net.au
Sun Jan 9 13:04:00 GMT 2005


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



More information about the Gcc mailing list