From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 407 invoked by alias); 10 Dec 2010 20:21:51 -0000 Received: (qmail 389 invoked by uid 22791); 10 Dec 2010 20:21:50 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from imr4.ericy.com (HELO imr4.ericy.com) (198.24.6.8) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 10 Dec 2010 20:21:44 +0000 Received: from eusaamw0711.eamcs.ericsson.se ([147.117.20.178]) by imr4.ericy.com (8.14.3/8.14.3/Debian-9.1ubuntu1) with ESMTP id oBAKpiIV022397; Fri, 10 Dec 2010 14:51:45 -0600 Received: from EUSAACMS0703.eamcs.ericsson.se ([169.254.1.63]) by eusaamw0711.eamcs.ericsson.se ([147.117.20.178]) with mapi; Fri, 10 Dec 2010 15:21:26 -0500 From: Marc Khouzam To: Tom Tromey CC: "gdb-patches@sourceware.org" Date: Fri, 10 Dec 2010 20:21:00 -0000 Subject: RE: Assertion failure because of missing inferior Message-ID: References: , In-Reply-To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-12/txt/msg00147.txt.bz2 From: Tom Tromey [tromey@redhat.com] >>>>> "Marc" =3D=3D Marc Khouzam writes: Marc> 2010-12-07 Marc Khouzam Marc> * mi/mi-main.c (mi_cmd_remove_inferior): Don't delete last inferior. Marc> (get_other_inferior): New. I've been doing more testing and I found a problem with the patch. It seems setting the inferior is not enough, I must also set a thread. I will better mimic what the 'inferior' command does and submit a new version. Marc