From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21130 invoked by alias); 22 Mar 2005 14:11:20 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 21080 invoked from network); 22 Mar 2005 14:11:11 -0000 Received: from unknown (HELO euclid.linsyssoft.com) (61.11.18.135) by sourceware.org with SMTP; 22 Mar 2005 14:11:11 -0000 Received: from ind (ind [192.168.1.10]) by euclid.linsyssoft.com (8.12.8/8.12.8) with ESMTP id j2ME6kSo002576 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Tue, 22 Mar 2005 19:36:46 +0530 Subject: Re: [patch] gdbserver fails on 32-bit ppc rfs running in a-64 bit 2.6 linux kernel From: Jitendra Pawar Reply-To: jitendra@linsyssoft.com To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com In-Reply-To: <20050316165705.GA7195@nevyn.them.org> References: <1110991758.5464.8.camel@ind> <20050316165705.GA7195@nevyn.them.org> Content-Type: text/plain Organization: LinSysSoft Technologies Pvt. Ltd. Date: Tue, 22 Mar 2005 14:11:00 -0000 Message-Id: <1111500324.4237.33.camel@ind> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SW-Source: 2005-03/txt/msg00281.txt.bz2 > > >On Tue, Mar 15, 2005 at 06:36:22PM +0530, Amit S. Kale wrote: > > >> The strtoul change in my patch was already present. Sorry about that. > > >> > > >> You have changed the data type of thread_resume::thread as well as cont_thread > > >> to unsigned long. "cont_thread = -1" and "(cont_thread > 0)" are still in > > >> place. How does this work? There are about 15 files in gdb source have statement pid_to_ptid (-1); which finally returns -1 to server. Is it OK to replace -1 with 0 ? I would like to know significance of returning pid -1, 0 and positive integer. - Jitendra > > > > > >Hmm, looks like you found a real problem here; would you like to fix > > >it? Modern GDBs don't heavily use this code, because of the vCont > > >packet. Otherwise I'll fix it, but I may not find time for a bit. > > >