Cross Compiling GDB for MIPS
Iam trying to compile gdb-7.0 for mips.
Iam giving the configure options like below.
./configure --host=mips-linux --target=mips-linux-uclibc --libdir=/home/test/CommonApp s/Software/SW/targets/DUALMOCA/rootfs/lib --includedir=/home/test/CommonApps/Software/SW/targets/DUALMOCA/rootfs/include
Compiles well and gives me executable , when i run that i get the message like below
This GDB was configured as "x86_64-unknown-linux-gnu".
Where as the cross compiler pacakage "uclibc-crosstools_gcc-3.4.2_uclibc-20050502" mips-linux-gdb give's me the proper results like "This GDB was configured as "--host=i386-pc-linux-gnu --target=mips-linux-uclibc"
Can any body guide me where am i going wrong ?
It would be more help full if i get direct mips compiled gdbserver . My basic intention is to do the remote debugging for mips target board