[commit/obv] Remove trailing space in gdbarch.sh.

Tom Tromey tromey@redhat.com
Wed Dec 12 15:46:00 GMT 2012


>>>>> "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



More information about the Gdb-patches mailing list