old-cross-binutils/sim
Mike Frysinger 440db57552 sim: fix minor --sysroot mem leak
The current --sysroot parsing attempts to keep from leaking memory by
treating the empty string specially (sine this is the initial value),
but it ends up leaking memory when the arg is an empty string.  So if
someone uses --sysroot "", the old value is leaked, as is the new one.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-05-27 18:05:16 +00:00
..
arm sim: add sim_complete_command stubs for non-common-using ports 2011-04-16 18:16:36 +00:00
avr sim: add sim_complete_command stubs for non-common-using ports 2011-04-16 18:16:36 +00:00
bfin sim: bfin: switch to new syscall trace level 2011-05-26 00:14:43 +00:00
common sim: fix minor --sysroot mem leak 2011-05-27 18:05:16 +00:00
cr16 run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cris run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
d10v run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
erc32 http://sourceware.org/ml/gdb-patches/2010-11/msg00112.html 2011-01-11 14:19:34 +00:00
frv run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
h8300 http://sourceware.org/ml/gdb-patches/2010-11/msg00112.html 2011-01-11 14:19:34 +00:00
igen sim: punt zfree() 2011-02-14 05:14:28 +00:00
iq2000 sim: punt zfree() 2011-02-14 05:14:28 +00:00
lm32 run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
m32c sim: add sim_complete_command stubs for non-common-using ports 2011-04-16 18:16:36 +00:00
m32r run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
m68hc11 run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
mcore run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
microblaze sim: add sim_complete_command stubs for non-common-using ports 2011-04-16 18:16:36 +00:00
mips sim: punt zfree() 2011-02-14 05:14:28 +00:00
mn10300 http://sourceware.org/ml/gdb-patches/2010-11/msg00112.html 2011-01-11 14:19:34 +00:00
moxie run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
ppc sim: add sim_complete_command stubs for non-common-using ports 2011-04-16 18:16:36 +00:00
rx sim: add sim_complete_command stubs for non-common-using ports 2011-04-16 18:16:36 +00:00
sh sim: add sim_complete_command stubs for non-common-using ports 2011-04-16 18:16:36 +00:00
sh64 sim: punt zfree() 2011-02-14 05:14:28 +00:00
testsuite sim: tests: support .S/.c files 2011-05-16 18:48:31 +00:00
v850 * simops (OP_10007E0): Update errno handling as most traps 2011-03-21 22:05:56 +00:00
.gitignore sim: ignore generated hw-config.h 2011-01-05 17:17:44 +00:00
ChangeLog gdb: 2011-05-04 19:28:16 +00:00
configure gdb: 2011-05-04 19:28:16 +00:00
configure.ac sim: unify target->subdir handling for default tests 2010-04-26 16:23:24 +00:00
configure.tgt gdb: 2011-05-04 19:28:16 +00:00
MAINTAINERS sim: bfin: new port 2011-03-06 00:20:21 +00:00
Makefile.in run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
README-HACKING sim: add more hacking notes 2010-04-12 21:44:46 +00:00