This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Re: Fw: Cross-gcc for SH


Albe:

> 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...


b.g.
-- 
Bill Gatliff
bgat@billgatliff.com

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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