This is the mail archive of the
mailing list for the GDB project.
Re: Regarding Libc,threaded application on mips-linu
- From: "H . J . Lu" <hjl at lucon dot org>
- To: Bino Mathew <bino dot mathew at wipro dot com>
- Cc: bug-gdb at gnu dot org, bug-glibc at gnu dot org,libc-alpha at sources dot redhat dot com, gdb at sources dot redhat dot com
- Date: Tue, 23 Apr 2002 11:40:22 -0700
- Subject: Re: Regarding Libc,threaded application on mips-linu
- References: <3CC53B59.B08FD5C4@wipro.com>
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
> 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
> 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.
My mini-port of RedHat 7.1 is at
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./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./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:
natively on Linux/mips.