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 6/7] common: add an alternative implementation for xstrvprintf


>>>>> "Mircea" == Mircea Gherzan <mircea.gherzan@intel.com> writes:

Mircea> The vasprintf(), used by the current implementation, is a GNU extension.
Mircea> 2013-06-25  Mircea Gherzan  <mircea.gherzan@intel.com>
Mircea> 	* configure.ac (AC_CHECK_FUNCS): Add vasprintf.
Mircea> 	* config.in: Rebuild.
Mircea> 	* configure: Rebuild.
Mircea> 	* common/common-utils.c (xstrvprintf): Add an alternative
Mircea> 	implementation that uses vsnprintf.

I suppose this is a problem for gdbserver, but not gdb?  Since I would
assume that the latter pulls in the libiberty vasprintf instead.

If it is a problem for gdb, then I think more investigation is needed.

Either way the gdbserver configury needs an update.
I really should resurrect common.m4 ...

Tom


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