From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31003 invoked by alias); 13 Apr 2010 20:33:22 -0000 Received: (qmail 30994 invoked by uid 22791); 13 Apr 2010 20:33:21 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from imr2.ericy.com (HELO imr2.ericy.com) (198.24.6.3) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 13 Apr 2010 20:33:15 +0000 Received: from eusaamw0706.eamcs.ericsson.se ([147.117.20.31]) by imr2.ericy.com (8.13.1/8.13.1) with ESMTP id o3DKbKqT025072; Tue, 13 Apr 2010 15:37:20 -0500 Received: from EUSAACMS0703.eamcs.ericsson.se ([169.254.1.20]) by eusaamw0706.eamcs.ericsson.se ([147.117.20.31]) with mapi; Tue, 13 Apr 2010 16:33:04 -0400 From: Marc Khouzam To: Vladimir Prus CC: "'gdb@sources.redhat.com'" Date: Tue, 13 Apr 2010 20:33:00 -0000 Subject: RE: Multiexec MI broke MI compatibility? Message-ID: References: ,<4BC4C884.8060701@cs.msu.su> In-Reply-To: <4BC4C884.8060701@cs.msu.su> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-04/txt/msg00044.txt.bz2 >> 797,748 10-list-thread-groups i1 >> 797,748 10^error,msg=3D"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. >=20 > 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=20 the more general case of multi-exec, even on Linux, even if we currently do= n't fully support it. I hope that is a little less cryptic. Marc