From: "H . J . Lu" <hjl@lucon.org>
To: Bino Mathew <bino.mathew@wipro.com>
Cc: bug-gdb@gnu.org, bug-glibc@gnu.org,
libc-alpha@sources.redhat.com, gdb@sources.redhat.com
Subject: Re: Regarding Libc,threaded application on mips-linu
Date: Tue, 23 Apr 2002 11:40:00 -0000 [thread overview]
Message-ID: <20020423114022.A4547@lucon.org> (raw)
In-Reply-To: <3CC53B59.B08FD5C4@wipro.com>; from bino.mathew@wipro.com on Tue, Apr 23, 2002 at 04:15:45PM +0530
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.
next prev parent reply other threads:[~2002-04-23 18:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-23 3:40 Bino Mathew
2002-04-23 11:40 ` H . J . Lu [this message]
2002-04-23 15:49 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020423114022.A4547@lucon.org \
--to=hjl@lucon.org \
--cc=bino.mathew@wipro.com \
--cc=bug-gdb@gnu.org \
--cc=bug-glibc@gnu.org \
--cc=gdb@sources.redhat.com \
--cc=libc-alpha@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox