This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
threads/1297: x86-64-pc-linux-gnu can't debug i386 threaded apps
- From: ac131313 at redhat dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 26 Jul 2003 15:30:39 -0000
- Subject: threads/1297: x86-64-pc-linux-gnu can't debug i386 threaded apps
- Reply-to: ac131313 at redhat dot com
>Number: 1297
>Category: threads
>Synopsis: x86-64-pc-linux-gnu can't debug i386 threaded apps
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: external
>Submitter-Id: net
>Arrival-Date: Sat Jul 26 15:38:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: ac131313@redhat.com
>Release: 2003-07-26
>Organization:
>Environment:
>Description:
While x86-64 GDB can debug a normal 32 bit GNU/Linux application, it doesn't work with threadeed apps. It is thought that the problem lies deep in the internals of libthread-db which assumes that host == target :-(
A quick fix would be to modify libthread-db so that it at least handles 32 bit apps when built 64 bit (how exactly?) (would GDB changes be needed?).
Long term, though, libthread-db should be modified so that it is more host / target netural (this would involve modifications to GDB).
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: