From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12177 invoked by alias); 22 Aug 2014 03:52:28 -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 12150 invoked by uid 89); 22 Aug 2014 03:52:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 22 Aug 2014 03:52:24 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1XKftk-0001rd-Jh from Yao_Qi@mentor.com ; Thu, 21 Aug 2014 20:52:20 -0700 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 21 Aug 2014 20:52:20 -0700 Received: from GreenOnly (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.2.247.3; Thu, 21 Aug 2014 20:52:19 -0700 From: Yao Qi To: Pedro Alves CC: Jan Kratochvil , "gdb-patches@sourceware.org" Subject: Re: --with-babeltrace generates many FAILs References: <20140816204614.GA7000@host2.jankratochvil.net> <53F3457E.5030205@codesourcery.com> <20140819140755.GA30208@host2.jankratochvil.net> <53F41DE5.1010406@codesourcery.com> <53F46D48.2060200@redhat.com> <53F487AC.7070606@codesourcery.com> <53F4A907.9080504@redhat.com> <53F57B66.1030602@codesourcery.com> <53F5EA99.9060107@redhat.com> Date: Fri, 22 Aug 2014 03:52:00 -0000 In-Reply-To: <53F5EA99.9060107@redhat.com> (Pedro Alves's message of "Thu, 21 Aug 2014 13:48:25 +0100") Message-ID: <87iolltca9.fsf@codesourcery.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg00494.txt.bz2 Pedro Alves writes: > Right. From your description, newer babeltrace rejects the workaround > because it's more strict now, which I read as the workaround > somehow knowingly violating the CTF spec, hence, the workaround > assuming babeltrace or other CTF consumers would remain lax. The > point was that CTF generated by a GDB with 1.1.0 wouldn't be readable > by a GDB with 1.1.2, and vice-versa. If it remains in place, the > assumption that we can infer whether a workaround will be necessary > or usable from the babeltrace version that is used to build the > producer GDB isn't strictly correct. But maybe "assumption" was a > too strong word. (I hope you didn't feel I was pointing fingers at > you or something. Certainly not intended!) No, I didn't feel that :) I'd like people know the status and problem clearly and make people on the same page. >>>>> >> > In general, GDB and GDBserver uses a set of libraries, what are = the >>>>> >> > criteria of >>>>> >> > >>>>> >> > 1. stop supporting a version of a library, such as libbabeltrac= e 1.1.0 >>> > When the burden of supporting it outweighs the benefits? >>> > >> That is still too abstract to operate, IMO. > > Kind of just as abstract as the question. :-) > > The "benefit" is being able to take advantage of the library's features. > The "burden" is the cost/effort required to use the library and workaround > any issues it might have. When there are bugfix releases that postdate > a given version, I think the effort to support the older unfixed version > isn't so much worth it. The bugs have been fixed at the source, and we > can simply require builders/integrators upgrade to the latest bugfix > release (that's what bugfix/stable releases are for!). Thus, IMO, the > existence of bugfix releases makes the burden of maintaining support > for old unfixed versions outweigh the benefits, as we can alternatively > just say "not our problem: build against the latest fixed version > instead, please". This is clear to me. > >> Subject: [PATCH] Remove workaround to libbabeltrace 1.1.0 issue > > This looks good to me. > Patch is pushed in. Thanks. --=20 Yao (=E9=BD=90=E5=B0=A7)