Small patch to enable build of gdb-7.6 for GNU/Hurd

Svante Signell svante.signell@gmail.com
Mon May 27 11:41:00 GMT 2013


On Fri, 2013-05-24 at 06:13 -0300, Sergio Durigan Junior wrote:
> On Friday, May 24 2013, Svante Signell wrote:
> 
> > I will change to use xstrprintf instead. Updated patch with ChangeLog
> > entry will follow shortly. Is it OK to modify also the other (preceding)
> > function in the same way (for consistency)?
> 
> Thanks.  It is OK IMO, but I'd prefer if you did that in a separate
> patch.

Attached is an updated patch for the build problems on systems where
PATH_MAX is not defined.

Thanks,
Svante

-------------- next part --------------
A non-text attachment was scrubbed...
Name: solve_PATH_MAX_issue.patch
Type: text/x-patch
Size: 830 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20130527/dfc4541a/attachment.bin>
-------------- next part --------------
2013-05-27  Svante Signell  <srs@hurd-2013.my.own.domain>

	* nto-tdep.c (nto_init_solib_absolute_prefix): Solve build
	problems for systems not defining PATH_MAX by using xstrprintf and
	a cleanup.




More information about the Gdb-patches mailing list