From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18855 invoked by alias); 4 Feb 2011 17:03:45 -0000 Received: (qmail 18847 invoked by uid 22791); 4 Feb 2011 17:03:44 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Feb 2011 17:03:38 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p14H3VP7017172 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 4 Feb 2011 12:03:31 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p14H3VOe030339; Fri, 4 Feb 2011 12:03:31 -0500 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id p14H3UWQ010433; Fri, 4 Feb 2011 12:03:30 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id 47A4C3784E1; Fri, 4 Feb 2011 10:03:30 -0700 (MST) From: Tom Tromey To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: RFC: fix PR mi/10693 References: <201101102348.04761.pedro@codesourcery.com> Date: Fri, 04 Feb 2011 17:03:00 -0000 In-Reply-To: (Tom Tromey's message of "Fri, 04 Feb 2011 09:15:04 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: 2011-02/txt/msg00078.txt.bz2 Tom> So I think we should instead just document that symbols-loaded is Tom> emitted for compatibility but is not actually useful. Like this. Ok? Tom 2011-02-04 Tom Tromey * gdb.texinfo (GDB/MI Async Records): Document that symbols-loaded is not useful. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 5dc0af0..5ec7c1a 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -24771,11 +24771,12 @@ opaque identifier of the library. For remote debugging case, @var{target-name} and @var{host-name} fields give the name of the library file on the target, and on the host respectively. For native debugging, both those fields have the same value. The -@var{symbols-loaded} field reports if the debug symbols for this -library are loaded. The @var{thread-group} field, if present, -specifies the id of the thread group in whose context the library was loaded. -If the field is absent, it means the library was loaded in the context -of all present thread groups. +@var{symbols-loaded} field is emitted only for backward compatibility +and should not be relied on to convey any useful information. The +@var{thread-group} field, if present, specifies the id of the thread +group in whose context the library was loaded. If the field is +absent, it means the library was loaded in the context of all present +thread groups. @item =library-unloaded,... Reports that a library was unloaded by the program. This notification