This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/commit 2/2] Import gnulib's errno module.
Joel> Yes, indeed. I don't know how to solve the problem, however,
Joel> short of maybe asking gnulib to define it as ENOENT as well.
Joel> But I don't know how I could justify this request, since
Joel> other projects might have chosen a different value.
A couple choices --
1. Ensure that charset.c includes the files in the correct order.
2. Back out your change and promote the EILSEQ define out of charset.c
to somewhere more global in gdb.
Joel> IMO, a more promising approach would be to convince libiconv
Joel> to use gnulib's errno instead.
You could try it but that option scares me a little in that what if
there is gnulib version skew between gdb and libiconv?
Tom