* Regarding Libc,threaded application on mips-linu
@ 2002-04-23 3:40 Bino Mathew
2002-04-23 11:40 ` H . J . Lu
2002-04-23 15:49 ` Daniel Jacobowitz
0 siblings, 2 replies; 3+ messages in thread
From: Bino Mathew @ 2002-04-23 3:40 UTC (permalink / raw)
To: bug-gdb, bug-glibc, libc-alpha, gdb
[-- Attachment #1: Type: text/plain, Size: 806 bytes --]
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 ?? ()
In one of the mailing list I saw that this due to bug in libc.
Can you tell me
1.Where can find the libc which don't have this bug
2.Is there any patches are associated with gdb for above mentioned
problem
Thankx for your time...
Bino Mathew
[-- Attachment #2: Wipro_Disclaimer.txt --]
[-- Type: text/plain, Size: 477 bytes --]
**************************Disclaimer************************************
Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.
********************************************************************
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Regarding Libc,threaded application on mips-linu
2002-04-23 3:40 Regarding Libc,threaded application on mips-linu Bino Mathew
@ 2002-04-23 11:40 ` H . J . Lu
2002-04-23 15:49 ` Daniel Jacobowitz
1 sibling, 0 replies; 3+ messages in thread
From: H . J . Lu @ 2002-04-23 11:40 UTC (permalink / raw)
To: Bino Mathew; +Cc: bug-gdb, bug-glibc, libc-alpha, gdb
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Regarding Libc,threaded application on mips-linu
2002-04-23 3:40 Regarding Libc,threaded application on mips-linu Bino Mathew
2002-04-23 11:40 ` H . J . Lu
@ 2002-04-23 15:49 ` Daniel Jacobowitz
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Jacobowitz @ 2002-04-23 15:49 UTC (permalink / raw)
To: Bino Mathew; +Cc: bug-gdb, bug-glibc, libc-alpha, gdb
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 ?? ()
>
> In one of the mailing list I saw that this due to bug in libc.
> Can you tell me
> 1.Where can find the libc which don't have this bug
In CVS. It has not been released. 2.3 should contain the fixes.
> 2.Is there any patches are associated with gdb for above mentioned
> problem
No, none are needed.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-04-23 22:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-23 3:40 Regarding Libc,threaded application on mips-linu Bino Mathew
2002-04-23 11:40 ` H . J . Lu
2002-04-23 15:49 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox