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 Wednesday, June 08, 2011 12:49:39 Joel Brobecker wrote:
> > 2011-05-26  Mike Frysinger  <vapier@gentoo.org>
> > 
> > 	* remote-sim.c (gdbsim_open): Add the strlen of " --sysroot=" and
> > 	gdb_sysroot to the "len" variable.  Append both to "arg_buf".
> 
> It turns out that this is breaking some simulators, at least the ppc sim:

with your ppc fix and my erc32 patch, i dont see any other sims failing

these guys are using sim_args_command() and sim_parse_args() which handles the 
--sysroot so they should "just work" already:
	bfin cris frv iq2000 lm32 m32r m68hc11 mips mn10300 moxie sh64 v850

these guys appear to ignore all and/or unknown options:
	arm avr cr16 m32c mcore microblaze rx sh

these guys are no longer in gdb, so doesnt matter:
	d10v

so i think ive covered everyone ...
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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