Fw: Cross-gcc for SH
William A. Gatliff
Thu Jul 19 18:48:00 GMT 2001
> immediately after I load a file, the command "info program"answer
> stopped at address 0xaaa which is not the entry point, and I cannot
> step on it.
This is because gdbstubs contains a compiled-in breakpoint to force it
to stop and talk to gdb. Inelegant, but it works. The address 0xaaa
should be around the address of gdbstub's main() function which, of
course, your application doesn't have symbol information for.
This is normal.
> Also when i compile a program with the newly compiled gcc 2.95.3 for
> sh-elf, the load command say File format not recognized.
Are you compiling your program with something other than the ELF
output format? You haven't compiled it to S-record, or something like
that, have you? That's the only thing I can think of...
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to firstname.lastname@example.org
More information about the crossgcc