This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] gdb: sim: automatically pass down sysroot
On Friday 27 May 2011 18:47:49, Tom Tromey wrote:
> >>>>> "Marek" == Marek Polacek <mpolacek@redhat.com> writes:
>
> Marek> BTW, couldn't be those strcat()s replaced by, e.g., cheaper mempcpy()?
>
> Thanks for noticing this.
>
> Normally my preference is to prefer the simplest code unless it is known
> to be performance-critical. In a case like this I doubt that it
> matters.
And mempcpy is not portable --- we'd have to pull it from gnulib.
--
Pedro Alves