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 Thu, May 26, 2011 at 16:09, Marek Polacek wrote:
> 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()?

the whole func probably could be converted, but i was keeping existing style
-mike


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