This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

threads/1297: x86-64-pc-linux-gnu can't debug i386 threaded apps


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]