This is the mail archive of the gdb-cvs@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]

src/sim common/ChangeLog common/hw-alloc.c com ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	vapier@sourceware.org	2011-02-14 05:14:28

Modified files:
	sim/common     : ChangeLog hw-alloc.c hw-base.c hw-handles.c 
	                 hw-instances.c hw-tree.c sim-core.c sim-cpu.c 
	                 sim-hw.c sim-memopt.c sim-module.c 
	                 sim-options.c sim-profile.c sim-utils.c 
	                 sim-utils.h sim-watch.c 
	sim/igen       : ChangeLog table.c 
	sim/iq2000     : ChangeLog iq2000.c 
	sim/mips       : ChangeLog dv-tx3904sio.c interp.c 
	sim/ppc        : ChangeLog cap.c corefile.c device.c 
	                 emul_bugapi.c emul_netbsd.c emul_unix.c 
	                 events.c hw_disk.c hw_eeprom.c hw_htab.c 
	                 hw_init.c hw_memory.c main.c pk_disklabel.c 
	                 sim_callbacks.h sim_calls.c table.c tree.c 
	sim/sh64       : ChangeLog sh64.c 
	sim/v850       : ChangeLog simops.c 

Log message:
	sim: punt zfree()
	
	The sim keeps track of which allocations are zero-ed internally (via
	zalloc) and then calls a helper "zfree" function rather than "free".
	But this "zfree" function simply calls "free" itself.  Since I can
	see no point in this and it is simply useless overhead, punt it.
	
	The only real change is in hw-alloc.c where we remove the zalloc_p
	tracking, and sim-utils.c where zfree is delete.  The rest of the
	changes are a simple `sed` from "zfree" to "free".
	
	Signed-off-by: Mike Frysinger <vapier@gentoo.org>

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/ChangeLog.diff?cvsroot=src&r1=1.236&r2=1.237
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/hw-alloc.c.diff?cvsroot=src&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/hw-base.c.diff?cvsroot=src&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/hw-handles.c.diff?cvsroot=src&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/hw-instances.c.diff?cvsroot=src&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/hw-tree.c.diff?cvsroot=src&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-core.c.diff?cvsroot=src&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-cpu.c.diff?cvsroot=src&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-hw.c.diff?cvsroot=src&r1=1.11&r2=1.12
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-memopt.c.diff?cvsroot=src&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-module.c.diff?cvsroot=src&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-options.c.diff?cvsroot=src&r1=1.21&r2=1.22
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-profile.c.diff?cvsroot=src&r1=1.16&r2=1.17
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-utils.c.diff?cvsroot=src&r1=1.15&r2=1.16
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-utils.h.diff?cvsroot=src&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/common/sim-watch.c.diff?cvsroot=src&r1=1.10&r2=1.11
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/igen/ChangeLog.diff?cvsroot=src&r1=1.25&r2=1.26
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/igen/table.c.diff?cvsroot=src&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/iq2000/ChangeLog.diff?cvsroot=src&r1=1.19&r2=1.20
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/iq2000/iq2000.c.diff?cvsroot=src&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/mips/ChangeLog.diff?cvsroot=src&r1=1.157&r2=1.158
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/mips/dv-tx3904sio.c.diff?cvsroot=src&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/mips/interp.c.diff?cvsroot=src&r1=1.26&r2=1.27
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/ppc/ChangeLog.diff?cvsroot=src&r1=1.102&r2=1.103
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/ppc/cap.c.diff?cvsroot=src&r1=1.1.1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/ppc/corefile.c.diff?cvsroot=src&r1=1.1.1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/ppc/device.c.diff?cvsroot=src&r1=1.1.1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/ppc/emul_bugapi.c.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/ppc/emul_netbsd.c.diff?cvsroot=src&r1=1.7&r2=1.8
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/ppc/emul_unix.c.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/ppc/events.c.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/ppc/hw_disk.c.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/ppc/hw_eeprom.c.diff?cvsroot=src&r1=1.1.1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/ppc/hw_htab.c.diff?cvsroot=src&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/ppc/hw_init.c.diff?cvsroot=src&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/ppc/hw_memory.c.diff?cvsroot=src&r1=1.1.1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/ppc/main.c.diff?cvsroot=src&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/ppc/pk_disklabel.c.diff?cvsroot=src&r1=1.1.1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/ppc/sim_callbacks.h.diff?cvsroot=src&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/ppc/sim_calls.c.diff?cvsroot=src&r1=1.13&r2=1.14
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/ppc/table.c.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/ppc/tree.c.diff?cvsroot=src&r1=1.5&r2=1.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/sh64/ChangeLog.diff?cvsroot=src&r1=1.26&r2=1.27
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/sh64/sh64.c.diff?cvsroot=src&r1=1.8&r2=1.9
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/v850/ChangeLog.diff?cvsroot=src&r1=1.42&r2=1.43
http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/v850/simops.c.diff?cvsroot=src&r1=1.10&r2=1.11


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