From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 99991 invoked by alias); 25 May 2015 21:00:08 -0000 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 Received: (qmail 99965 invoked by uid 89); 25 May 2015 21:00:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail-qg0-f74.google.com Received: from mail-qg0-f74.google.com (HELO mail-qg0-f74.google.com) (209.85.192.74) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 25 May 2015 21:00:06 +0000 Received: by qgdq107 with SMTP id q107so3055724qgd.0 for ; Mon, 25 May 2015 14:00:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:message-id:date:subject:from:to:cc :content-type; bh=XLaCSW5emL589bV+gdC1OCSWGaX1JHRIIms87OhUJ0A=; b=Pou7sJaDlPhV6ZrYA1J+I/dX9v5pAD9TD0i+X7cDtC6QopbvmDMjPnInAvZRF1rp3i Q7rVyBaujdzfDFv1iHM4uVF7iDxuXDJRW1yB73JTh7Q3vXRtdBsWerwMTSkpJwCeC9dl DfACqKFUMTHHPR5A+sbcdkrPzkG+Uf5g3q555doeAEKE1EU/gWFYy7tLEHTSucL5NmCX Ah4nKwp7H0L17P5Dc/jpxopZpXzOi6HQ/ahD2/8T7E3/y30riXI2qJtylDGCrdxq/Kgb OGlubshdb8A9+xWEEo0zSJtAU8br0FLZ1dgVuBmO8eA8/UvAd9vJ7FXHYGGE4ou/Yd2S dtyg== X-Gm-Message-State: ALoCoQkGU0wgM7ESaEiwZ2zHXclvn9l1ceIbHYK8eh3wW2g7tgUhqJKEV44CZh/Q0BdJaMeQ1Xn2 MIME-Version: 1.0 X-Received: by 10.140.233.138 with SMTP id e132mr31043588qhc.7.1432587604211; Mon, 25 May 2015 14:00:04 -0700 (PDT) Message-ID: <001a11356bf44269fc0516ee4bd0@google.com> Date: Mon, 25 May 2015 21:00:00 -0000 Subject: Re: [PATCH 6/9 v2] Implement mount namespace support for native Linux targets From: Doug Evans To: Gary Benson Cc: gdb-patches@sourceware.org, Eli Zaretskii , Pedro Alves , google.com Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg00631.txt.bz2 Gary Benson writes: > This commit allows GDB to access executables and shared libraries > on native Linux targets where GDB and the inferior have different > mount namespaces. > > gdb/ChangeLog: > > * linux-nat.c (nat/linux-namespaces.h): New include. > (fileio.h): Likewise. > (linux_nat_filesystem_is_local): New function. > (linux_nat_fileio_pid_of): Likewise. > (linux_nat_fileio_open): Likewise. > (linux_nat_fileio_readlink): Likewise. > (linux_nat_fileio_unlink): Likewise. > (linux_nat_add_target): Initialize to_filesystem_is_local, > to_fileio_open, to_fileio_readlink and to_fileio_unlink. > (_initialize_linux_nat): New "set/show debug lin-ns" commands. > * NEWS: Mention new "set/show debug lin-ns" commands. Hi. Nit: "set debug" options need a doc entry. [I didn't see it in another patch. I also didn't see this option used in this patch.]