From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12452 invoked by alias); 11 Jan 2007 21:55:07 -0000 Received: (qmail 12443 invoked by uid 22791); 11 Jan 2007 21:55:07 -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; Thu, 11 Jan 2007 21:55:02 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.13.8/8.13.8) with ESMTP id l0BLsris020945; Thu, 11 Jan 2007 22:54:53 +0100 (CET) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.13.8/8.13.8/Submit) id l0BLsr09000276; Thu, 11 Jan 2007 22:54:53 +0100 (CET) Date: Thu, 11 Jan 2007 21:55:00 -0000 Message-Id: <200701112154.l0BLsr09000276@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: ams@gnu.org CC: gdb-patches@sourceware.org In-reply-to: <20070111210230.42EF944011@Psilocybe.Update.UU.SE> (ams@gnu.org) Subject: Re: Small GNU/Hurd cleanup References: <200701010126.l011QlJv009433@brahms.sibelius.xs4all.nl> <20070111210230.42EF944011@Psilocybe.Update.UU.SE> 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-01/txt/msg00309.txt.bz2 > From: "Alfred M. Szmidt" > Date: Thu, 11 Jan 2007 22:02:30 +0100 (CET) > > The Hurd is the last user of deprecated_read_register_bytes() that > we have in the tree. As far as I can tell, it doesn't really need > it. Alfred, can you test whether I'm right or not? > > You are right, please commit the patch (I can't right now). Thanks > for waiting. Thanks, I committed this now. > Index: ChangeLog > from Mark Kettenis > > * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove. > > Index: config/i386/nm-i386gnu.h > =================================================================== > RCS file: /cvs/src/src/gdb/config/i386/nm-i386gnu.h,v > retrieving revision 1.4 > diff -u -p -r1.4 nm-i386gnu.h > --- config/i386/nm-i386gnu.h 24 Nov 2006 18:23:34 -0000 1.4 > +++ config/i386/nm-i386gnu.h 1 Jan 2007 01:24:07 -0000 > @@ -1,5 +1,5 @@ > /* Native-dependent definitions for Intel 386 running the GNU Hurd > - Copyright 1994, 1995, 1996, 2002 Free Software Foundation, Inc. > + Copyright 1994, 1995, 1996, 2002, 2006 Free Software Foundation, Inc. > > This file is part of GDB. > > @@ -28,9 +28,6 @@ > > extern char *gnu_target_pid_to_str (int pid); > > -/* Before storing, we need to read all the registers. */ > -#define CHILD_PREPARE_TO_STORE() deprecated_read_register_bytes (0, NULL, deprecated_register_bytes ()) > - > /* Don't do wait_for_inferior on attach. */ > #define ATTACH_NO_WAIT >