public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [RFA/RFT PATCH 0/3] Add TDB regset support
@ 2013-06-07 13:44 Andreas Arnez
  2013-06-07 13:50 ` [PATCH 1/3] S/390 regmap rework Andreas Arnez
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Andreas Arnez @ 2013-06-07 13:44 UTC (permalink / raw)
  To: gdb-patches, Ulrich Weigand

The new z/Architecture introduces restricted hardware transactional
memory with the "transactional-execution facility".  Diagnostic
capabilities of this feature include the "program interruption
transaction diagnostic block" (TDB), which is written by the hardware
whenever a transaction is aborted due to a program interruption.

This patch set makes the TDB accessible from GDB as a new register set.
The first patch reworks the S/390 register map handling without any
functional changes, the second adds the new TDB register set, and the
third implements "dynamic regset" support.

The third patch changes GDB's approach for enumerating core file
register note sections: Instead of a static array, an iterator function
is now provided by the target-dependent code.  This allows for
dynamically selecting a register set for inclusion in a core file
(written with gcore), and making the selection dependent on the current
register values.  This is needed for correct treatment of the TDB
register set, because its register values are unavailable when the
inferior was interrupted outside transactions, and then the TDB should
*not* be written into the core file.

This last patch affects multiple architectures, specifically:

- GNU/Linux ARM
- GNU/Linux PowerPC
- GNU/Linux S/390
- GNU/Linux x86

In most cases the patch simplifies the target-dependent logic.  I've
tested on S/390 and x86 and did not find any regressions.

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

end of thread, other threads:[~2015-05-06 18:16 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-07 13:44 [RFA/RFT PATCH 0/3] Add TDB regset support Andreas Arnez
2013-06-07 13:50 ` [PATCH 1/3] S/390 regmap rework Andreas Arnez
2015-05-05 19:17   ` Regression on gdb.base/checkpoint.exp on S/390 (was: Re: [PATCH 1/3] S/390 regmap rework) Sergio Durigan Junior
2015-05-06 18:16     ` Regression on gdb.base/checkpoint.exp on S/390 Andreas Arnez
2013-06-07 13:51 ` [PATCH 2/3] Add TDB regset Andreas Arnez
2013-06-07 13:53 ` [PATCH 3/3] Dynamic core regset sections support Andreas Arnez
2013-06-07 14:43   ` Luis Machado
2013-06-07 16:40     ` Andreas Arnez
2013-06-07 15:03 ` [RFA/RFT PATCH 0/3] Add TDB regset support Pedro Alves
2013-06-07 15:59   ` Andreas Arnez
2013-06-07 16:44     ` Pedro Alves
2013-06-07 18:16       ` Andreas Arnez
2013-06-07 19:06         ` Pedro Alves
2013-06-10 16:59           ` Andreas Arnez
2013-06-11 10:48             ` Pedro Alves

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