From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4706 invoked by alias); 21 Nov 2001 00:16:55 -0000 Mailing-List: contact insight-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 4578 invoked from network); 21 Nov 2001 00:16:38 -0000 Date: Thu, 04 Oct 2001 11:28:00 -0000 From: Grant Edwards To: Keith Seitz Cc: insight@sources.redhat.com Subject: Re: No step button using insight w/ remote target. Message-ID: <20011120182108.A30684@visi.com> References: <20011119150837.A27007@visi.com> <20011119164412.A27327@visi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20011119164412.A27327@visi.com>; from grante@visi.com on Mon, Nov 19, 2001 at 04:44:13PM -0600 X-SW-Source: 2001-q4/txt/msg00045.txt.bz2 On Mon, Nov 19, 2001 at 04:44:13PM -0600, Grant Edwards wrote: > On Mon, Nov 19, 2001 at 01:05:19PM -0800, Keith Seitz wrote: > > > (gdb) print inferior_ptid > > > $1 = {pid = 42000, lwp = 0, tid = 0} > > > > Ok, so someone is resetting it somewhere... Can you find out who that is? > > It's being changed from {42000,0,0} to {0,0,0} in > infrun.c:contect_switch() at the last line in the function. Moving that assignment into the inside of the "then" part of the "if (in_thread_list...)" makes things work, but I doubt that's the right way to fix the problem. -- Grant Edwards grante@visi.com From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Edwards To: Keith Seitz Cc: insight@sources.redhat.com Subject: Re: No step button using insight w/ remote target. Date: Tue, 20 Nov 2001 16:16:00 -0000 Message-ID: <20011120182108.A30684@visi.com> References: <20011119150837.A27007@visi.com> <20011119164412.A27327@visi.com> X-SW-Source: 2001-q4/msg00346.html Message-ID: <20011120161600.CQVESq3Ik0HuZgpoJfs_AzOmCFygKdcux1FhQTxIamc@z> On Mon, Nov 19, 2001 at 04:44:13PM -0600, Grant Edwards wrote: > On Mon, Nov 19, 2001 at 01:05:19PM -0800, Keith Seitz wrote: > > > (gdb) print inferior_ptid > > > $1 = {pid = 42000, lwp = 0, tid = 0} > > > > Ok, so someone is resetting it somewhere... Can you find out who that is? > > It's being changed from {42000,0,0} to {0,0,0} in > infrun.c:contect_switch() at the last line in the function. Moving that assignment into the inside of the "then" part of the "if (in_thread_list...)" makes things work, but I doubt that's the right way to fix the problem. -- Grant Edwards grante@visi.com