darling-gdb/sim/common
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
..
aclocal.m4 sim: cfi: new flash device simulation 2011-03-29 17:57:21 +00:00
callback.c sim: fix func call style (space before paren) 2011-05-11 20:02:42 +00:00
cgen-accfp.c common/ 2010-01-25 04:08:52 +00:00
cgen-cpu.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-defs.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-engine.h sim: common: trim trailing whitespace 2011-03-15 03:16:17 +00:00
cgen-fpu.c import gdb-1999-07-05 snapshot 1999-07-06 00:58:41 +00:00
cgen-fpu.h common/ 2010-01-25 04:08:52 +00:00
cgen-mem.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-ops.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-par.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-par.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-run.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-scache.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-scache.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-sim.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-trace.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-trace.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-types.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen-utils.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
cgen.sh * Make-common.in (CGEN_CPU_EXTR,CGEN_CPU_READ): Pass canonical 2009-07-07 08:09:19 +00:00
ChangeLog sim: fix minor --sysroot mem leak 2011-05-27 18:05:16 +00:00
common.m4 * common/aclocal.m4: Add include of ../../config/zlib.m4. 2009-11-24 22:58:08 +00:00
config.in sim: use socklen_t with accept() 2010-03-30 23:09:48 +00:00
configure sim: use socklen_t with accept() 2010-03-30 23:09:48 +00:00
configure.ac sim: use socklen_t with accept() 2010-03-30 23:09:48 +00:00
dv-cfi.c sim: cfi: new flash device simulation 2011-03-29 17:57:21 +00:00
dv-cfi.h sim: cfi: new flash device simulation 2011-03-29 17:57:21 +00:00
dv-core.c sim: common: trim trailing whitespace 2011-03-15 03:16:17 +00:00
dv-glue.c sim: glue: allow bitwise devices to only glue ints 2011-05-23 23:00:35 +00:00
dv-pal.c sim: fix func call style (space before paren) 2011-05-11 20:02:42 +00:00
dv-sockser.c sim: fix func call style (space before paren) 2011-05-11 20:02:42 +00:00
dv-sockser.h sim: dv-sockser: add a write buffer variant 2010-11-16 19:10:29 +00:00
gdbinit.in * aclocal.m4 (SIM_AC_OUTPUT): Substitute @cgen_breaks@ for "break 2004-12-07 23:37:35 +00:00
genmloop.sh run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
gennltvals.sh * gennltvals.sh: Search sys/_default_fcntl.h, in addition to 2011-03-21 22:06:55 +00:00
gentmap.c * gentmap.c: Fix compile time warning. 2006-11-07 19:29:59 +00:00
gentvals.sh Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
hw-alloc.c sim: fix up style a bit 2011-04-02 05:30:16 +00:00
hw-alloc.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hw-base.c sim: fix func call style (space before paren) 2011-05-11 20:02:42 +00:00
hw-base.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hw-device.c sim: fix func call style (space before paren) 2011-05-11 20:02:42 +00:00
hw-device.h sim: fix up style a bit 2011-04-02 05:30:16 +00:00
hw-events.c sim: fix up style a bit 2011-04-02 05:30:16 +00:00
hw-events.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hw-handles.c sim: fix up style a bit 2011-04-02 05:30:16 +00:00
hw-handles.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
hw-instances.c sim: fix func call style (space before paren) 2011-05-11 20:02:42 +00:00
hw-instances.h sim: fix up style a bit 2011-04-02 05:30:16 +00:00
hw-main.h sim: fix up style a bit 2011-04-02 05:30:16 +00:00
hw-ports.c sim: fix func call style (space before paren) 2011-05-11 20:02:42 +00:00
hw-ports.h sim: fix up style a bit 2011-04-02 05:30:16 +00:00
hw-properties.c sim: fix func call style (space before paren) 2011-05-11 20:02:42 +00:00
hw-properties.h sim: fix up style a bit 2011-04-02 05:30:16 +00:00
hw-tree.c sim: fix func call style (space before paren) 2011-05-11 20:02:42 +00:00
hw-tree.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
Make-common.in sim: cfi: new flash device simulation 2011-03-29 17:57:21 +00:00
Makefile.in run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
nltvals.def sim: common: add back Blackfin syscalls 2011-05-26 18:20:13 +00:00
nrun.c sim: common: trim trailing whitespace 2011-03-15 03:16:17 +00:00
run-sim.h sim: common: trim trailing whitespace 2011-03-15 03:16:17 +00:00
run.1 Update the copyright year for most remaining files in GDB 2011-01-05 05:09:55 +00:00
run.c sim: common: trim trailing whitespace 2011-03-15 03:16:17 +00:00
sim-abort.c sim: fix func call style (space before paren) 2011-05-11 20:02:42 +00:00
sim-alu.h sim: common: trim trailing whitespace 2011-03-15 03:16:17 +00:00
sim-arange.c sim: fix func call style (space before paren) 2011-05-11 20:02:42 +00:00
sim-arange.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-assert.h sim: common: trim trailing whitespace 2011-03-15 03:16:17 +00:00
sim-base.h sim: common: trim trailing whitespace 2011-03-15 03:16:17 +00:00
sim-basics.h sim: common: trim trailing whitespace 2011-03-15 03:16:17 +00:00
sim-bits.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-bits.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-config.c sim: fix func call style (space before paren) 2011-05-11 20:02:42 +00:00
sim-config.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-core.c sim: fix func call style (space before paren) 2011-05-11 20:02:42 +00:00
sim-core.h sim: common: trim trailing whitespace 2011-03-15 03:16:17 +00:00
sim-cpu.c sim: punt zfree() 2011-02-14 05:14:28 +00:00
sim-cpu.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-endian.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-endian.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-engine.c sim: fix func call style (space before paren) 2011-05-11 20:02:42 +00:00
sim-engine.h sim: common: trim trailing whitespace 2011-03-15 03:16:17 +00:00
sim-events.c sim: fix func call style (space before paren) 2011-05-11 20:02:42 +00:00
sim-events.h sim: common: trim trailing whitespace 2011-03-15 03:16:17 +00:00
sim-fpu.c sim: common: trim trailing whitespace 2011-03-15 03:16:17 +00:00
sim-fpu.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-hload.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-hrw.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-hw.c sim: fix func call style (space before paren) 2011-05-11 20:02:42 +00:00
sim-hw.h sim: add noreturn markings to more hw abort/halt funcs 2011-01-10 21:52:08 +00:00
sim-info.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-inline.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-inline.h sim: common: trim trailing whitespace 2011-03-15 03:16:17 +00:00
sim-io.c sim: fix func call style (space before paren) 2011-05-11 20:02:42 +00:00
sim-io.h * gennltvals.sh: Search sys/_default_fcntl.h, in addition to 2011-03-21 22:06:55 +00:00
sim-load.c sim: common: trim trailing whitespace 2011-03-15 03:16:17 +00:00
sim-memopt.c sim: fix func call style (space before paren) 2011-05-11 20:02:42 +00:00
sim-memopt.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-model.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-model.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-module.c sim: punt zfree() 2011-02-14 05:14:28 +00:00
sim-module.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-n-bits.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-n-core.h sim: common: trim trailing whitespace 2011-03-15 03:16:17 +00:00
sim-n-endian.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-options.c sim: fix minor --sysroot mem leak 2011-05-27 18:05:16 +00:00
sim-options.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-profile.c sim: fix func call style (space before paren) 2011-05-11 20:02:42 +00:00
sim-profile.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-reason.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-reg.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-resume.c sim: fix func call style (space before paren) 2011-05-11 20:02:42 +00:00
sim-run.c run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-signal.c sim: common: trim trailing whitespace 2011-03-15 03:16:17 +00:00
sim-signal.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-stop.c sim: fix func call style (space before paren) 2011-05-11 20:02:42 +00:00
sim-trace.c sim: add syscall tracing level 2011-05-26 00:09:59 +00:00
sim-trace.h sim: add syscall tracing level 2011-05-26 00:09:59 +00:00
sim-types.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
sim-utils.c sim: common: trim trailing whitespace 2011-03-15 03:16:17 +00:00
sim-utils.h sim: punt zfree() 2011-02-14 05:14:28 +00:00
sim-watch.c sim: common: trim trailing whitespace 2011-03-15 03:16:17 +00:00
sim-watch.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00
syscall.c sim: fix func call style (space before paren) 2011-05-11 20:02:42 +00:00
tconfig.in Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
version.h run copyright.sh for 2011. 2011-01-01 15:34:07 +00:00