public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug tdep/16940] New: S390: 64-bit GDB can't debug multithreaded 31-bit inferior
@ 2014-05-13 14:00 arnez at linux dot vnet.ibm.com
  2014-05-13 14:41 ` [Bug tdep/16940] " cvs-commit at gcc dot gnu.org
  2014-05-13 17:22 ` arnez at linux dot vnet.ibm.com
  0 siblings, 2 replies; 3+ messages in thread
From: arnez at linux dot vnet.ibm.com @ 2014-05-13 14:00 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=16940

            Bug ID: 16940
           Summary: S390: 64-bit GDB can't debug multithreaded 31-bit
                    inferior
           Product: gdb
           Version: 7.7
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tdep
          Assignee: unassigned at sourceware dot org
          Reporter: arnez at linux dot vnet.ibm.com

When debugging a multithreaded 31-bit inferior (compiled with "gcc -m31
-lpthread), a 64-bit gdb usually crashes like this:

(gdb) run
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7d68cb80 (LWP 21445)]
warning: Can't attach LWP -844998064: No child processes
linux-thread-db.c:434: internal-error: thread_get_info_callback: Assertion
`inout->thread_info != NULL' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) 

This is caused by a bad offset in fill_gregset() since commit
2ccd146855365598ad2644ef8139f2f2a6747b90
(https://sourceware.org/ml/gdb-patches/2013-09/msg00355.html).

The same bug also causes failures with inferior function calls.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-13 17:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-13 14:00 [Bug tdep/16940] New: S390: 64-bit GDB can't debug multithreaded 31-bit inferior arnez at linux dot vnet.ibm.com
2014-05-13 14:41 ` [Bug tdep/16940] " cvs-commit at gcc dot gnu.org
2014-05-13 17:22 ` arnez at linux dot vnet.ibm.com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).