From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18859 invoked by alias); 30 Dec 2009 19:47:03 -0000 Received: (qmail 18851 invoked by uid 22791); 30 Dec 2009 19:47:03 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 30 Dec 2009 19:46:59 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 6A7042BABBD for ; Wed, 30 Dec 2009 14:46:57 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id J+1q2VIB1CHI for ; Wed, 30 Dec 2009 14:46:57 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id DB41D2BAB4D for ; Wed, 30 Dec 2009 14:46:56 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 20B94F5937; Wed, 30 Dec 2009 20:46:28 +0100 (CET) Date: Wed, 30 Dec 2009 19:47:00 -0000 From: Joel Brobecker To: gdb-patches@sourceware.org Subject: [commit] build failure in inf-ptrace.c (pa-hpux) Message-ID: <20091230194628.GH5942@adacore.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="kadn00tgSopKmJ1H" Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2009-12/txt/msg00445.txt.bz2 --kadn00tgSopKmJ1H Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 457 Hello, inf-ptrace no longer builds on pa-hpux. Looks like a small thinko while updating gazillions of files the same way. I hope I fixed it right (notice the [...]->pspace = [...]->aspace on the second line I changed ;-). I didn't see I first fixed the name of the variable... 2009-12-30 Joel Brobecker Fix build failure in inf-ptrace.c. * inf-ptrace.c (inf_ptrace_follow_fork): Fix typo. Checked in. -- Joel --kadn00tgSopKmJ1H Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="inf-ptrace.diff" Content-length: 879 commit 1a2d71c8b05b915da66a162b794eada3d85126ca Author: brobecke Date: Wed Dec 30 19:34:08 2009 +0000 Fix build failure in inf-ptrace.c. * inf-ptrace.c (inf_ptrace_follow_fork): Fix typo. diff --git a/gdb/inf-ptrace.c b/gdb/inf-ptrace.c index a138701..d2df3b1 100644 --- a/gdb/inf-ptrace.c +++ b/gdb/inf-ptrace.c @@ -67,8 +67,8 @@ inf_ptrace_follow_fork (struct target_ops *ops, int follow_child) child_inf = add_inferior (fpid); child_inf->attach_flag = parent_inf->attach_flag; copy_terminal_info (child_inf, parent_inf); - inf->pspace = parent_inf->pspace; - inf->pspace = parent_inf->aspace; + child_inf->pspace = parent_inf->pspace; + child_inf->aspace = parent_inf->aspace; /* Before detaching from the parent, remove all breakpoints from it. */ --kadn00tgSopKmJ1H--