This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add support for embedding scripts in .debug_gdb_scripts.
- From: Stan Shebs <stanshebs at earthlink dot net>
- To: gdb-patches at sourceware dot org
- Date: Fri, 13 Feb 2015 08:15:32 -0800
- Subject: Re: [PATCH] Add support for embedding scripts in .debug_gdb_scripts.
- Authentication-results: sourceware.org; auth=none
- References: <m3bnm0ar23 dot fsf at sspiff dot org> <83ppaf3oe6 dot fsf at gnu dot org> <CAP9bCMSC0TgsuZ+K0qb6Fkdafh_vbbCL+gBZ3V1h6aM6kUqW+A at mail dot gmail dot com> <83egqu1u69 dot fsf at gnu dot org> <CAP9bCMREvQTdNiH_fP8r3UUynFevR9DNw2nc8ESJ7r0qnF9boQ at mail dot gmail dot com> <8361c5254p dot fsf at gnu dot org> <CAP9bCMQdPwb3NxdHTtAnDGN8c99bKOZbJda9RCsXs+m8xRT71Q at mail dot gmail dot com> <83egqsys6z dot fsf at gnu dot org> <CAP9bCMTbhAc-BfFTCb_mLyEWFo2soPxS=5dq0AW8qT0s-hxiAg at mail dot gmail dot com> <20150119144921 dot GC4041 at adacore dot com> <CAP9bCMQM_cmsEwxNAjaSo+WNR_xOQ1Sqi6Z0VicUHFTyi47wZw at mail dot gmail dot com>
On 1/20/15 8:35 AM, Doug Evans wrote:
> [...]
>
> I for one would liked to have seen the data to back up
> the claim that NUL-terminated is archaic.
> It's not that I don't trust someone's judgement, rather it's that that's
> the wrong way to impose the change.
Reminiscent of my Wikipedia editing days! It's pretty difficult to
prove obsolescence of a particular usage; Wikipedia editors trying to
decide the "most common" form of a term would resort to elaborate
combinations of Google searches, and then get mired down in meta-debate
about whether the searches were returning valid numbers - or whether 55%
for A and 45% for B was a meaningful difference.
My instant reaction is that "NUL-terminated" is an old-fashioned usage,
but I can't say exactly when it declined. To some extent all the
control codes became more obscure due to the shift from terminals to
window systems, and I imagine the increasing use of char encodings
beyond original ASCII has had an effect as well.
In general, I would like to have the documentation maintainer be more of
an editor, to have more of a free hand in deciding style rules, and to
not insist that everything has to be written down beforehand. The flip
side of the expectation is that we do need patches that make the
documents follow the rules reliably, so future contributors are not misled.
Stan