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: [RFA] Add la_getstr member to language_defn


>>>>> "Thiago" == Thiago Jung Bauermann <bauerman@br.ibm.com> writes:

Thiago> Right. The contract (the comment above la_get_string in language_defn,
Thiago> assuming it is legally binding :-) ) doesn't say that the string should
Thiago> be null-terminated. And the length argument doesn't count the ending
Thiago> null character, should it be present.

Ah, thanks.  I misunderstood the comment in language.h.

Tom


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