From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id B+PsI+mmrmJCVAMAWB0awg (envelope-from ) for ; Sun, 19 Jun 2022 00:32:41 -0400 Received: by simark.ca (Postfix, from userid 112) id 825241E225; Sun, 19 Jun 2022 00:32:41 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=WpDU0qZS; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 2E9411E15C for ; Sun, 19 Jun 2022 00:32:41 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9E33F3851A9A for ; Sun, 19 Jun 2022 04:32:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9E33F3851A9A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1655613160; bh=5TUvy9xcWkOxfgCMEB93MeNyfK1ZXU10fhSBKcCwCEQ=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=WpDU0qZSNDw69Cylvl+UtabrVpCU2lkAlnhYlmlH7x4RbtdHo7fZDmKJ+X2ukQfn5 rfxDNe+YpStxoEGZxbLd38GZ0bbf4rCLFL30w/7sC7JvS3W87s9rpiGrftOhjDpyLe baGCAIC1YX85F6NvEmVq3nDh+Xi6cZz/TKLmDBtU= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id B15DB3852775 for ; Sun, 19 Jun 2022 04:32:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B15DB3852775 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-473-g1INEOIQNiyuJD4_LI9lvA-1; Sun, 19 Jun 2022 00:32:15 -0400 X-MC-Unique: g1INEOIQNiyuJD4_LI9lvA-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 737A185A581; Sun, 19 Jun 2022 04:32:15 +0000 (UTC) Received: from f35-zws-1 (unknown [10.2.16.89]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3052740334D; Sun, 19 Jun 2022 04:32:15 +0000 (UTC) Date: Sat, 18 Jun 2022 21:32:13 -0700 To: Markus Metzger via Gdb-patches Subject: Re: [PATCH v5 05/15] gdb, gdbserver: extend RSP to support namespaces Message-ID: <20220618213213.562bc3b8@f35-zws-1> In-Reply-To: <20220602132514.957983-6-markus.t.metzger@intel.com> References: <20220602132514.957983-1-markus.t.metzger@intel.com> <20220602132514.957983-6-markus.t.metzger@intel.com> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Kevin Buettner via Gdb-patches Reply-To: Kevin Buettner Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On Thu, 2 Jun 2022 15:25:04 +0200 Markus Metzger via Gdb-patches wrote: > Introduce a new qXfer:libraries-svr4:read annex key/value pair > > lmid= > > to be used together with start and prev to provide the namespace of start > and prev to gdbserver. > > Unknown key/value pairs are ignored by gdbserver so no new supports check > is needed. > > Introduce a new library-list-svr4 library attribute > > lmid > > to provide the namespace of a library entry to GDB. > > This implementation uses the address of a namespace's r_debug object as > namespace identifier. > > This should have incremented the minor version but since unknown XML > attributes are ignored, anyway, and since changing the version results in > a warning from GDB, the version is left at 1.0. > --- > gdb/doc/gdb.texinfo | 16 +++++++++++-- > gdb/features/library-list-svr4.dtd | 4 ++++ > gdb/solib-svr4.c | 38 +++++++++++++++++++++++++++--- > gdbserver/linux-low.cc | 26 +++++++++++++------- > 4 files changed, 70 insertions(+), 14 deletions(-) Okay for everything but the doc changes. (But Eli approved those, so it's all okay.) Kevin