Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Marc Khouzam <marc.khouzam@ericsson.com>
To: Vladimir Prus <ghost@cs.msu.su>
Cc: "'gdb@sources.redhat.com'" <gdb@sources.redhat.com>
Subject: RE: Multiexec MI broke MI compatibility?
Date: Tue, 13 Apr 2010 20:33:00 -0000	[thread overview]
Message-ID: <F7CE05678329534C957159168FA70DEC5243D4FC19@EUSAACMS0703.eamcs.ericsson.se> (raw)
In-Reply-To: <4BC4C884.8060701@cs.msu.su>

>> 797,748 10-list-thread-groups i1
>> 797,748 10^error,msg="invalid group id 'i1'"  <-------------- when we ask for the same is, GDB rejects it
>> 797,749 (gdb)
>
> This sounds like a bug indeed. Can you file an issue?

I'm hoping Frederic can do that since he knows the proper details.

> > If this change needs to be done, I'm gonna have to have code like
> >       if (event.equals("thread-group-created") || event.equals("thread-group-started")
> > in a couple of places.
> >
> > What is the change meant to improve?

> The meaning? thread-group is not actually created when this notification is emitted,
> it's created/added much earlier.

Well, not really the meaning, which I now understand, but more: what is the value
in making this change?

> >>>  - Is there a GUI working with the latest GDB and supporting the
> >>> Multiexec features?
> >> No idea.
> >
> > My guess is that there isn't.  At least, there is none in eclipse.
> > But it's planned, if we can find time for it.
> 
> Oh, I'm confused. If you don't support multi-exec, then why are you using thread-group-created
> notification at all? It's meant for multi-exec support only.

I don't think I could have been more obscure if I tried.  Sorry.

DSF-GDB support multi-process (single address space targets) but not multi-exec (e.g., Linux target).
And we use -thread-group-created et al., whenever we use GDB 7.0 because we have prepared for 
the more general case of multi-exec, even on Linux, even if we currently don't fully support it.

I hope that is a little less cryptic.

Marc


  reply	other threads:[~2010-04-13 20:33 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-12 13:30 Frederic Riss
2010-04-13 16:54 ` Vladimir Prus
2010-04-13 17:32   ` Marc Khouzam
2010-04-13 19:40     ` Vladimir Prus
2010-04-13 20:33       ` Marc Khouzam [this message]
2010-04-14  8:12         ` Frederic Riss
2010-06-04 13:46           ` Marc Khouzam
2010-06-05  5:16             ` Vladimir Prus
2010-06-08  0:36               ` Marc Khouzam
2010-06-21 18:32                 ` Marc Khouzam

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=F7CE05678329534C957159168FA70DEC5243D4FC19@EUSAACMS0703.eamcs.ericsson.se \
    --to=marc.khouzam@ericsson.com \
    --cc=gdb@sources.redhat.com \
    --cc=ghost@cs.msu.su \
    /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