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

* [Bug tdep/16940] S390: 64-bit GDB can't debug multithreaded 31-bit inferior
  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 ` cvs-commit at gcc dot gnu.org
  2014-05-13 17:22 ` arnez at linux dot vnet.ibm.com
  1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2014-05-13 14:41 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, gdb-7.7-branch has been updated
       via  20dca09662aa0d2706fbe325b8f448ef74773028 (commit)
      from  ccbc6d2e1f4deed715c63b0652e988c69c94a31d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=20dca09662aa0d2706fbe325b8f448ef74773028

commit 20dca09662aa0d2706fbe325b8f448ef74773028
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
Date:   Tue May 13 14:55:53 2014 +0200

    PR target/16940 S390: Fix erroneous offset in fill_gregset.

    This fixes a bug that leads to various failures when debugging a
    31-bit inferior with a 64-bit gdb on s390x.

    Conflicts:

        gdb/ChangeLog

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog        |    6 ++++++
 gdb/s390-linux-nat.c |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

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


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

* [Bug tdep/16940] S390: 64-bit GDB can't debug multithreaded 31-bit inferior
  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
  1 sibling, 0 replies; 3+ messages in thread
From: arnez at linux dot vnet.ibm.com @ 2014-05-13 17:22 UTC (permalink / raw)
  To: gdb-prs

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

Andreas Arnez <arnez at linux dot vnet.ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Andreas Arnez <arnez at linux dot vnet.ibm.com> ---
Fixed with this patch:
https://sourceware.org/ml/gdb-patches/2014-05/msg00154.html

-- 
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).