Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Simon Marchi <simon.marchi@polymtl.ca>
To: Jan Vrany <jan.vrany@fit.cvut.cz>
Cc: Pedro Alves <palves@redhat.com>, gdb@sourceware.org
Subject: Re: How to use -list-target-features MI command
Date: Sun, 27 May 2018 22:13:00 -0000	[thread overview]
Message-ID: <fa1bb04c050ceeb230bad645483c1610@polymtl.ca> (raw)
In-Reply-To: <976c5c036af52fb2f88d3bf7a801edb1ba6405e9.camel@fit.cvut.cz>

On 2018-05-18 17:16, Jan Vrany wrote:
> Hmm, just thinking loud: I don't know the details of Pedro's work but
> I guess in case of multiple targets, it'd make sense to have two
> "target-connected" and "target-disconnected" events instead of one
> "target-changed" (as in my attempt). This would work for current
> codebase with only one target at time.
> 
> As for -list-target-features - I presume each target would have some
> kind of identifier (just like threads or breakpoints do). Then one can
> just extend -list-target-features with --target <target id> option.
> If --target is not specified, it would return features of "currently
> selected target". This way it'd be backward compatible.

Yep, that makes sense.

Simon


      reply	other threads:[~2018-05-27 22:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-09 14:22 Jan Vrany
2018-04-23  1:37 ` Simon Marchi
2018-04-24 10:20   ` Pedro Alves
2018-04-26 23:49     ` Jan Vrany
2018-04-27 18:44       ` Simon Marchi
2018-05-18 21:16         ` Jan Vrany
2018-05-27 22:13           ` Simon Marchi [this message]

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=fa1bb04c050ceeb230bad645483c1610@polymtl.ca \
    --to=simon.marchi@polymtl.ca \
    --cc=gdb@sourceware.org \
    --cc=jan.vrany@fit.cvut.cz \
    --cc=palves@redhat.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