From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2075 invoked by alias); 30 Apr 2002 19:05:39 -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 2031 invoked from network); 30 Apr 2002 19:05:36 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 30 Apr 2002 19:05:36 -0000 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id MAA04817; Tue, 30 Apr 2002 12:02:08 -0700 (PDT) Message-ID: <3CCEE743.F8E9C328@redhat.com> Date: Tue, 30 Apr 2002 12:05:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Accept-Language: en MIME-Version: 1.0 To: Roland McGrath CC: gdb-patches@sources.redhat.com Subject: Re: gnu-nat.c patch mangled References: <20020430182655.8880E1BA15@perdition.linnaean.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg01164.txt.bz2 Roland McGrath wrote: > > My patch to gdb/gnu-nat.c (committed in rev 1.20) did not make it intact. > > This patch vs the current file is needed to properly effect the changes > from my original patch. I'm not including an extra log entry since this > was part of the same change I submitted. I don't know how it got lost > in the commit. Sorry, Roland. Committed. > > Index: gnu-nat.c > =================================================================== > RCS file: /cvs/src/src/gdb/gnu-nat.c,v > retrieving revision 1.20 > diff -u -b -p -r1.20 gnu-nat.c > --- gnu-nat.c 24 Apr 2002 21:44:46 -0000 1.20 > +++ gnu-nat.c 30 Apr 2002 18:22:51 -0000 > @@ -2536,6 +2536,16 @@ gnu_find_memory_regions (int (*func) (CO > last_protection = protection; > } > } > + > + /* Report the final region. */ > + if (last_region_end > last_region_address && last_protection != VM_PROT_NONE) > + (*func) (last_region_address, last_region_end - last_region_address, > + last_protection & VM_PROT_READ, > + last_protection & VM_PROT_WRITE, > + last_protection & VM_PROT_EXECUTE, > + data); > + > + return 0; > } > >