> 2013-05-27 Svante Signell > > * nto-tdep.c (nto_init_solib_absolute_prefix): Solve build > problems for systems not defining PATH_MAX by using xstrprintf and > a cleanup. Is the domain name above really valid? > Attached is an updated patch for the build problems on systems where > PATH_MAX is not defined. In this case, I think you need to use what we call a "cleanup", because execute_command might trigger an "error" (GDB's poor man's exception mechanism), thus prevening the last xfree from releasing buf. A formatting nit: The GNU Coding Standard, which we follow in GDB, requires a space before opening parens. While looking at this code, I don't think you'll need 2 xstrprintf either. Can you try the attached patch? -- Joel