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
- From: Marek Polacek <mpolacek at redhat dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: gdb-patches at sourceware dot org, toolchain-devel at blackfin dot uclinux dot org
- Date: Thu, 26 May 2011 22:09:43 +0200
- Subject: Re: [PATCH] gdb: sim: automatically pass down sysroot
- References: <1306440200-25087-1-git-send-email-vapier@gentoo.org>
On 05/26/2011 10:03 PM, Mike Frysinger wrote:
> + /* Pass along gdb's concept of the sysroot. */
> + strcat (arg_buf, " --sysroot=");
> + strcat (arg_buf, gdb_sysroot);
BTW, couldn't be those strcat()s replaced by, e.g., cheaper mempcpy()?
Marek