From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5003 invoked by alias); 10 May 2011 17:37:35 -0000 Received: (qmail 4916 invoked by uid 22791); 10 May 2011 17:37:34 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.44.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 May 2011 17:37:19 +0000 Received: from wpaz1.hot.corp.google.com (wpaz1.hot.corp.google.com [172.24.198.65]) by smtp-out.google.com with ESMTP id p4AHbI5n017105 for ; Tue, 10 May 2011 10:37:18 -0700 Received: from gwb20 (gwb20.prod.google.com [10.200.2.20]) by wpaz1.hot.corp.google.com with ESMTP id p4AHbHQv028072 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Tue, 10 May 2011 10:37:17 -0700 Received: by gwb20 with SMTP id 20so3265117gwb.17 for ; Tue, 10 May 2011 10:37:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.91.206.3 with SMTP id i3mr5423877agq.153.1305049037324; Tue, 10 May 2011 10:37:17 -0700 (PDT) Received: by 10.90.72.6 with HTTP; Tue, 10 May 2011 10:37:17 -0700 (PDT) In-Reply-To: <83r586h48u.fsf@gnu.org> References: <20110510165918.8488B246196@ruffy.mtv.corp.google.com> <83r586h48u.fsf@gnu.org> Date: Tue, 10 May 2011 17:37:00 -0000 Message-ID: Subject: Re: [patch] Fix handling of elided libthread-db-search-path values. From: Doug Evans To: Eli Zaretskii Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-IsSubscribed: yes 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-05/txt/msg00254.txt.bz2 On Tue, May 10, 2011 at 10:09 AM, Eli Zaretskii wrote: >> Date: Tue, 10 May 2011 09:59:18 -0700 (PDT) >> From: dje@google.com (Doug Evans) >> >> 2) There's an assumption that the default value for libthread-db-search-= path >> =A0 =A0is always an empty list. >> >> That's true, but only because no one overrides LIBTHREAD_DB_SEARCH_PATH. > > But the new text doesn't mention LIBTHREAD_DB_SEARCH_PATH at all. =A0So > it leaves the reader in the darkness wrt the default value and where > will it come from. Yeah, that's a gdb macro, didn't want to mention it in the user docs. But ok, how about this? If you omit @var{path}, @samp{libthread-db-search-path} will be reset to its default value (an empty list on @sc{gnu}/Linux and Solaris systems). Internally, the default value comes from the @code{LIBTHREAD_DB_SEARCH_PATH} macro. >> -@samp{libthread-db-search-path} will be reset to an empty list. >> +@samp{libthread-db-search-path} will be reset to the its value. > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 ^^^^^^^^^^^^^^^^^^^^^^ > A typo. Yeah, fixed in what's checked in.