On Tue, Apr 23, 2002 at 04:15:45PM +0530, Bino Mathew wrote: > Hi All, > I am using a linux(2.4.16) on mips (bigendian) box for development of > gdb > tool.Recently I downloaded gdb 5.1 source code and was able to > successfully configure and > compile for the above mentioned mips box.I am also encountering the same > old > problem of debugging the threaded application... > > Starting program: /data/gdb/./SimpleVideolin.out > [New Thread 1024 (LWP 438)] > > Program received signal SIGTRAP, Trace/breakpoint trap. > [Switching to Thread 1024 (LWP 438)] > 0x00000000 in ?? () >
Try gdb from my RedHat 7.1 mips port. BTW, I am working on a few bugs and will have some updates soon. H.J. --- My mini-port of RedHat 7.1 is at ftp://oss.sgi.com/pub/linux/mips/redhat/7.1/ you should be able to put a small RedHat 7.1 on the mips/mipsel box and compile the rest of RedHat 7.1 yourselves. Here are something you should know: 1. The cross compiler hosted on RedHat 7.[12]/x86 is provided as a toolchain rpm. The binary rpms for the mips and mipsel cross compilers are included. This toolchain is a combination of gcc, binutils, gdb and glibc. It is packaged for the cross compiling. It allows you to cross compile to RedHat 7.1/mips from a RedHat 7.[12]/x86 host. 2. You have to find a way to put those rpms on your machine. I use network boot and NFS root to do it. 3. install.tar.bz2 has some scripts to prepare NFS root and install RedHat 7.1 on a hard drive. 4. baseline.tar.bz2 contains the cross build tree. 5. Since everything is cross compiled from x86, which is little endian, many data files for mips, which is big endian, are either missing or wrong. To get those data files for mips, you have to rebuild/install the folowing rpms: cracklib glibc natively on Linux/mips. Thanks. H.J. _______________________________________________ Bug-gdb mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gdb