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: Pedro Alves <palves at redhat dot com>
- To: Doug Evans <xdje42 at gmail dot com>, Joel Brobecker <brobecker at adacore dot com>
- Cc: Eli Zaretskii <eliz at gnu dot org>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Fri, 13 Feb 2015 18:05:29 +0000
- 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 01/20/2015 04:35 PM, 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.
I think saying NUL instead of "null" is as archaic as saying CR instead of
"carriage return", LF instead of "line feed", NL instead of "new line",
etc. I mean, maybe archaicness is not really the issue.
IMO, it's just a matter of whether we think using the character's
control code symbol is OK instead of the full name. I think the
decision should be based on that alone.
E.g., would we write:
"If this section exists, its contents is a list of entries separated
by CR NL, specifying scripts to load. The list is terminated with
a NUL character."
?
Thanks,
Pedro Alves