This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add support for embedding scripts in .debug_gdb_scripts.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]