This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] gdb: sim: automatically pass down sysroot


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]