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] |
Heh - I thought about it more, and ended up changing to return the informational string after all. The prospect of multiple prints from multiple calls was the most distasteful of all! :-)"Stan" == Stan Shebs <stanshebs@earthlink.net> writes:
Stan> Yeah, I considered it. It seemed like a localization mess to be Stan> constructing strings from strings, plus I find it distasteful to have Stan> the callee decide to allocate space in a way that compels the caller Stan> to think about what to do with it. But as you observe, predicates Stan> doing printouts isn't great either.
Yeah... well, just for the record, what you have is ok by me.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |