Re: how do I build an i386 gdb that can talk to a mipsel gdbserver?

David Wuertele <[email protected]>
Newsgroups gmane.comp.gdb.general
Organization Berkeley Fluent Network
Message-ID <[email protected]>
Me> I'm looking for the instructions for building a gdb to run on my
Me> i386 desktop that can talk to a gdbserver that is running on my mipsel
Me> target.  I have done this before but for the life of me I can't find
Me> the configure switches.  

BTW, I'm building gdbserver with the following:

mkdir -p ../gdb-6.2-gdbserver-build && cd ../gdb-6.2-gdbserver-build && TARGET_ROOT=../staging AR=mipsel-abcd-linux-gnu-ar AS=mipsel-abcd-linux-gnu-as LD=mipsel-abcd-linux-gnu-ld NM=mipsel-abcd-linux-gnu-nm CC=mipsel-abcd-linux-gnu-gcc GCC=mipsel-abcd-linux-gnu-gcc CXX=mipsel-abcd-linux-gnu-g++ STRIP=mipsel-abcd-linux-gnu-strip RANLIB=mipsel-abcd-linux-gnu-ranlib ../gdb-6.2/gdb/gdbserver/configure --prefix=../staging --build=i386-linux --host=mipsel-abcd-linux-gnu --target=mipsel-abcd-linux-gnu

Thanks,
Dave
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.