Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Yao Qi <yao@codesourcery.com>
To: Pedro Alves <palves@redhat.com>
Cc: Jan Kratochvil <jan.kratochvil@redhat.com>,
	"gdb-patches@sourceware.org"	<gdb-patches@sourceware.org>
Subject: Re: --with-babeltrace generates many FAILs
Date: Fri, 22 Aug 2014 03:52:00 -0000	[thread overview]
Message-ID: <87iolltca9.fsf@codesourcery.com> (raw)
In-Reply-To: <53F5EA99.9060107@redhat.com> (Pedro Alves's message of "Thu, 21	Aug 2014 13:48:25 +0100")

Pedro Alves <palves@redhat.com> 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 libbabeltrace 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.

-- 
Yao (齐尧)


  reply	other threads:[~2014-08-22  3:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20140816204614.GA7000@host2.jankratochvil.net>
2014-08-19 12:43 ` Yao Qi
2014-08-19 14:08   ` Jan Kratochvil
2014-08-20  4:06     ` Yao Qi
2014-08-20  9:41       ` Pedro Alves
2014-08-20 11:38         ` Yao Qi
2014-08-20 13:56           ` Pedro Alves
2014-08-21  4:57             ` Yao Qi
2014-08-21 12:48               ` Pedro Alves
2014-08-22  3:52                 ` Yao Qi [this message]
2014-08-26 20:27                   ` [for 7.8?] " Jan Kratochvil
2014-08-27  8:27                     ` Yao Qi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87iolltca9.fsf@codesourcery.com \
    --to=yao@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jan.kratochvil@redhat.com \
    --cc=palves@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox