Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Nenad Vukicevic <nenad@intrepid.com>
Cc: gdb@sourceware.org
Subject: Re: multi-{inferior,exec}
Date: Tue, 07 Sep 2010 17:04:00 -0000	[thread overview]
Message-ID: <m3r5h5xz7v.fsf@fleche.redhat.com> (raw)
In-Reply-To: <4C83D050.7010903@intrepid.com> (Nenad Vukicevic's message of	"Sun, 05 Sep 2010 10:16:00 -0700")

>>>>> "Nenad" == Nenad Vukicevic <nenad@intrepid.com> writes:

Nenad> However, as our run-time contains a thread that is not UPC
Nenad> language related, I made some changes and created a "upcmode" of
Nenad> operation where commands like breakpoint, info threads, .. apply
Nenad> only to UPC threads (a set in your example). Also, "c -a" like
Nenad> commands apply only to UPC threads. Same with "thread apply all".

It sounds like you made the needed inferior-control changes ... any
chance of a patch for this?

I think instead of a special "upcmode", though, just having generic I/T
sets would be better.  UPC could be one instance of this.

Nenad> Also, having set names is better then numbers (e.g. "upc" set of
Nenad> threads for UPC program set) and using
Nenad> names or numbers should be interchangeable.

Yes.  I'm also thinking that we should support implementing named sets
in Python.  That way a set could be very dynamic, when needed.

Nenad> We also had to implement "collective" breakpoints where
Nenad> breakpoint is announced to user only once all the threads reached
Nenad> it. In "upcmode" every breakpoint is a collective one, unless you
Nenad> explicitly turn this feature off.

This sounds like the "barrier" feature in HPD.
A patch for this would be interesting, too.

I am curious though -- what is it useful for?

Tom


  reply	other threads:[~2010-09-07 17:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-03 22:41 multi-{inferior,exec} Tom Tromey
2010-09-04  6:26 ` multi-{inferior,exec} Jan Kratochvil
2010-09-05 17:16 ` multi-{inferior,exec} Nenad Vukicevic
2010-09-07 17:04   ` Tom Tromey [this message]
2010-09-07 21:34     ` multi-{inferior,exec} Daniel Jacobowitz
2010-09-07 21:50       ` multi-{inferior,exec} Nenad Vukicevic
2010-09-10 21:56 ` multi-{inferior,exec} Tom Tromey
2010-09-10 23:07   ` multi-{inferior,exec} Stan Shebs
2010-09-11  1:46     ` multi-{inferior,exec} Tom Tromey
2010-09-10 22:52 ` multi-{inferior,exec} Stan Shebs

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=m3r5h5xz7v.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=nenad@intrepid.com \
    /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