rtems Debugging

Joel Sherrill joel.sherrill at OARcorp.com
Tue Jan 27 14:26:07 UTC 2004


durai wrote:
> Hi,
> 
> CPU - MIPS R3000 core (LX4189)
> RTEMS-4.6-pre5
> 
> I have compied rtems source with -g and -O2 gcc options.
> I am using  EPI MAJIC JTAG debugger for debugger. When I debug the
> executables I am not able to find the source code.
> I have tested some elf files produced by the mips-linux-gcc compiler and the
> debugger displays the source code .
> The problem exists with the ELF files produced by the RTEMS. I saw a similar
> post in the mailing list, but I am not able to draw any solutions from that.
> 
> Anybody tried mips-rtems-gdb for debugging?  Is mips-rtems-gdb is tested?

mips-rtems-gdb is not intended to be used with mips-linux-gcc.  You
should be using mips-rtems-gcc.  Though they are both based on
some gcc version, the configuration options renders them very different.

Please use the right compiler.

> regards
> durai
> 
> 
> ****************************************
> Confidentiality Notice
> 
> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at mailadmin at isofttech.com immediately and destroy all copies of this message and any attachments.
> 
> ****************************************
>  
> 





More information about the users mailing list