From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2831 invoked by alias); 4 Apr 2006 23:58:20 -0000 Received: (qmail 2822 invoked by uid 22791); 4 Apr 2006 23:58:20 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 04 Apr 2006 23:58:19 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k34NwHDl024763; Tue, 4 Apr 2006 19:58:17 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.11.6) with ESMTP id k34NwGjZ026759; Tue, 4 Apr 2006 19:58:17 -0400 Received: from [172.16.24.50] (bluegiant.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.12.8/8.12.8) with ESMTP id k34NwFTq026383; Tue, 4 Apr 2006 19:58:15 -0400 Message-ID: <44330816.3010300@redhat.com> Date: Tue, 04 Apr 2006 23:58:00 -0000 From: Michael Snyder User-Agent: Mozilla Thunderbird 1.0.7-1.4.1 (X11/20050929) MIME-Version: 1.0 To: "David S. Miller" CC: drow@false.org, gdb-patches@sources.redhat.com Subject: Re: [PATCH]: Fix thread debugging on Sparc/Linux References: <20060404.155456.38752686.davem@davemloft.net> <20060404231102.GA14012@nevyn.them.org> <20060404.161216.67971337.davem@davemloft.net> <20060404.165246.93473545.davem@davemloft.net> In-Reply-To: <20060404.165246.93473545.davem@davemloft.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00048.txt.bz2 David S. Miller wrote: > From: "David S. Miller" > Date: Tue, 04 Apr 2006 16:12:16 -0700 (PDT) > > >>From: Daniel Jacobowitz >>Date: Tue, 4 Apr 2006 19:11:02 -0400 >> >> >>>On Tue, Apr 04, 2006 at 03:54:56PM -0700, David S. Miller wrote: >>> >>>>The checkpoint/restart stuff is also non-functional on Linux/Sparc, >>>>but I think that could be due to some bug in event message handling on >>>>that platform. >>> >>>Is gdb a 32-bit or 64-bit binary? I bet there's problems with a >>>32-bit binary. At least one is that the event message is >>>stored as a long. >> >>Yep, that's exactly where I think the bug is, in the 32-bit >>compat layer on sparc64. > > > I just confirmed that after fixing this in the kernel ptrace() > implementation, checkpointing works fine for 32-bit gdb running on > 64-bit kernel for Linux/Sparc. Cool!