RE: [PATCH] btrace, testsuite: fix spurious gdb.btrace/tsx.exp fails

Metzger, Markus T
2015-09-18T12:13:16Z

> -----Original Message-----
> From: gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] On Behalf Of Pedro Alves
> Sent: Friday, September 18, 2015 1:44 PM
> To: Metzger, Markus T
> Cc: gdb-patches@sourceware.org
> Subject: Re: [PATCH] btrace, testsuite: fix spurious gdb.btrace/tsx.exp fails
>
> On 09/18/2015 09:36 AM, Markus Metzger wrote:
> > If the atomic section in x86-tsx.S is aborted,
>
> When can that happen? Is it normal that the test sees this?

A transaction can be aborted for various reasons. One such reason is an
interrupt, which can happen at any time.

This occurs very infrequently. After I saw this the first time, I had to re-run
the test several dozen times to reproduce it again.

Regards,
Markus.

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Prof. Dr. Hermann Eul
Chairperson of the Supervisory Board: Tiffany Doon Silva
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928