From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14358 invoked by alias); 3 Aug 2007 18:38:57 -0000 Received: (qmail 14343 invoked by uid 22791); 3 Aug 2007 18:38:55 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO brahms.sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 03 Aug 2007 18:38:48 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.0/8.14.0) with ESMTP id l73IbTPs013498; Fri, 3 Aug 2007 20:37:29 +0200 (CEST) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.0/8.14.0/Submit) id l73IbSSG018774; Fri, 3 Aug 2007 20:37:28 +0200 (CEST) Date: Fri, 03 Aug 2007 18:38:00 -0000 Message-Id: <200708031837.l73IbSSG018774@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: drow@false.org CC: gdb-patches@sourceware.org In-reply-to: <20070803175822.GA11142@caradoc.them.org> (message from Daniel Jacobowitz on Fri, 3 Aug 2007 13:58:22 -0400) Subject: Re: [rfc] Adjust address size on MIPS References: <20070803175822.GA11142@caradoc.them.org> 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: 2007-08/txt/msg00069.txt.bz2 > Date: Fri, 3 Aug 2007 13:58:22 -0400 > From: Daniel Jacobowitz > > I recently tried to use a 64-bit stub to debug an O32 MIPS program. > It fell down because GDB would send a "m83000000" packet, instead of > the proper "mffffffff83000000" packet (sign extended 64-bit > addresses). I think that if a stub sends us some 64-bit registers in > the "g" packet, the polite thing to do would be to send it 64-bit > addresses by default. > > Does this sound wrong to anyone? This feels like a bad hack to me. If it is sending 64-bit addresses should PROPERTY_GP64 be set in the first place?