Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFC/WIP I/T sets V2 PATCH 00/14] I/T sets
@ 2011-12-17  2:59 Pedro Alves
  2011-12-17  2:59 ` [RFC/WIP PATCH v2 01/12] Flip to set target-async on by default Pedro Alves
                   ` (13 more replies)
  0 siblings, 14 replies; 16+ messages in thread
From: Pedro Alves @ 2011-12-17  2:59 UTC (permalink / raw)
  To: gdb-patches

Here's v2 of the itsets series.  Several preparatory patches have been
checked in meanwhile, which along with a bunch of changes and fixing
to v1 brought the series close to being regression free.  There's what
seems like one last nasty bug somewhere in execution control
(somewhere with displaced stepping, I suspect) that makes us mishandle
decr_pc_after_break, leading to spurious SIGTRAPs with PCs pointing
one-off of breakpoints.

The major visible change in this version is that I'm no longer
following HPC ptset specs so closely, but instead, I've implemented
the idea of requiring a prefix letter (i, t, c, etc.).  More info in
the individual patches.


The name of this new concept is still up for grabs.  Let me repeat a
bit of the discussion on the v1 series on the topic here:

  Tromey wrote:
  > Pedro> IPTC sets are a collection of arbitrarily many processes,
  > Pedro> threads, and cores.
  > 
  > I wish we had a better name.
  > 
  > The current name seems to gain a letter with every new thread on the
  > topic :-)

  That was kind of on purpose.  :-)

  The best name I could think of is "scope".  If we call these things
  scopes, we can also rename the itfocus command to "scope", which can
  be abbreviated as "sc".  ("s" is already step, obviously).  It's spelled
  itfocus currently because "focus" was already taken by the TUI.

  It looks like this:

  curinf> scope t3 break -stop i1 main
  Breakpoint 2 at 0x40068c: file threads.c, line 35.
  curinf> scope i1
  Current inferior is 1.
  i1> sc all
  Current inferior is 1.
  all>
  
  WDYT?


v1 at: http://sourceware.org/ml/gdb-patches/2011-11/msg00760.html

This series is also available at http://github.com/palves/gdb/tree/itsets-v2
for convenience.

This is still a WIP.  Expect no docs, tests, and to find uncommented
code, and, obvious hacks in need of cleanup here and there.

-- 
Pedro Alves


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

end of thread, other threads:[~2011-12-23 16:01 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-17  2:59 [RFC/WIP I/T sets V2 PATCH 00/14] I/T sets Pedro Alves
2011-12-17  2:59 ` [RFC/WIP PATCH v2 01/12] Flip to set target-async on by default Pedro Alves
2011-12-23 18:04   ` Marc Khouzam
2011-12-17  2:59 ` [RFC/WIP PATCH v2 03/12] manythreads.exp: Adjust to handle threads appearing/disappearing after "Program received signal SIGFOO" Pedro Alves
2011-12-17  3:00 ` [RFC/WIP PATCH v2 04/12] ia64-sigill.exp: Don't assume there's no infrun output after the prompt Pedro Alves
2011-12-17  3:00 ` [RFC/WIP PATCH v2 07/12] Expand %ITSET% and %THREAD% in " Pedro Alves
2011-12-17  3:00 ` [RFC/WIP PATCH v2 11/12] Default the current itset to the current inferior set (curset) Pedro Alves
2011-12-17  3:05 ` [RFC/WIP PATCH v2 08/12] I/T set support for breakpoints - trigger set, and stop set Pedro Alves
2011-12-17  3:07 ` [RFC/WIP PATCH v2 13/12] Comment out new info breakpoints output, in order to not break the test suite Pedro Alves
2011-12-17  3:08 ` [RFC/WIP PATCH v2 12/12] Default "set schedule-multiple" to on Pedro Alves
2011-12-17  8:49 ` [RFC/WIP PATCH v2 14/12] experiment with "scope" Pedro Alves
2011-12-17 12:35 ` [RFC/WIP PATCH v2 02/14] Implement all-stop on top of a target running non-stop mode Pedro Alves
2011-12-17 12:37 ` [RFC/WIP PATCH v2 05/14] watchthreads-reorder.exp: Don't assume there's no infrun output after the prompt Pedro Alves
2011-12-17 12:37 ` [RFC/WIP PATCH v2 06/14] Add base itsets support Pedro Alves
2011-12-17 12:38 ` [RFC/WIP PATCH v2 09/14] Add I/T set support to most execution commands Pedro Alves
2011-12-17 14:05 ` [RFC/WIP PATCH v2 10/14] Parallel steps, wait for all threads to reach their goal Pedro Alves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox