Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: koriakin@0x04.net (Marcin Kościelnicki)
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC][PATCH][PR 18376] gdb: Add process record and replay support for s390.
Date: Fri, 30 Oct 2015 15:56:00 -0000	[thread overview]
Message-ID: <20151030120608.56EA55C3D@oc7340732750.ibm.com> (raw)
In-Reply-To: <56334E28.8010400@0x04.net> from "=?UTF-8?Q?Marcin_Ko=c5=9bcielnicki?=" at Oct 30, 2015 12:02:00 PM

Marcin KoÅcielnicki <koriakin at 0x04 dot net> wrote:
> On 30/10/15 11:39, Ulrich Weigand wrote:
> > This sounds find to me.   There may be an issue (which we recently found on
> > PowerPC as well) with very recent glibc versions that attempt to use
> > transactions for lock elision.  If every transactional instruction will
> > cause process record to abort, this may happen during many common glibc
> > routines in that case.  A simple way to fix this might be to accept at
> > least TBEGIN for process recording, assuming that it will always fail.
> > (That failure ought to trigger the non-transactional fallback in glibc.)
> 
> I'll do that, but I have no way of testing it - I only have access to a 
> z196 machine.

For working on GDB, you should be able to get access to a z13 guest here:
http://dcc4z.syr.edu/

> >> The gdb.reverse testsuite passes after this commit on both s390-linux and
> >> s390x-linux (except for the waitpid test, as mentioned in the record fixes
> >> thread).
> >
> > Excellent.  From the follow-on discussions on the list, it seems the
> > waitpid issue is now also resolved?
> 
> Well, the test passes now, though there's definitely still a bug 
> somewhere in fork handling (BZ 19187).

Ah, OK.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU/Linux compilers and toolchain
  Ulrich.Weigand@de.ibm.com


  reply	other threads:[~2015-10-30 12:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-26 14:32 Marcin Kościelnicki
2015-10-30 15:30 ` Ulrich Weigand
2015-10-30 15:44   ` Marcin Kościelnicki
2015-10-30 15:56     ` Ulrich Weigand [this message]
2015-11-02 19:11   ` Marcin Kościelnicki
2015-11-02 19:11     ` [PATCH 2/2] gdb/s390-linux: Step over MVCLE+JO (and similiar) as a unit Marcin Kościelnicki
2015-11-02 20:41       ` Ulrich Weigand
2015-11-03 15:49         ` [PATCH v3 " Marcin Kościelnicki
2015-11-03 16:13           ` Ulrich Weigand
2015-11-03 16:44             ` Marcin Kościelnicki
2015-11-03 17:34               ` Ulrich Weigand
2015-11-02 19:29     ` [PATCH 1/2] gdb: Add process record and replay support for s390 Marcin Kościelnicki
2015-11-02 20:35       ` Ulrich Weigand
2015-11-03 13:56         ` [PATCH v3 " Marcin Kościelnicki
2015-11-03 14:17           ` Ulrich Weigand
2015-11-02 20:33     ` [RFC][PATCH][PR 18376] " Ulrich Weigand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151030120608.56EA55C3D@oc7340732750.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=koriakin@0x04.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox