This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit/obv] Remove trailing space in gdbarch.sh.
>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
Pedro> "read" trims leading and trailing whitespace by default (on bash
Pedro> at least). We can make it not do that by setting the IFS
Pedro> variable to empty, like in the patch below. This should make it
Pedro> so that all shells behave the same here (tried bash and dash),
Pedro> which I think would be good.
Pedro> WDYT?
Seems sensible.
I often wish we could replace gdbarch.sh with something nicer.
Tom