From brolley@sourceware.org Tue Jun 17 18:06:00 2008 From: brolley@sourceware.org (brolley@sourceware.org) Date: Tue, 17 Jun 2008 18:06:00 -0000 Subject: src/sid/component/cgen-cpu/xstormy16 ChangeLog ... Message-ID: <20080617180652.8235.qmail@sourceware.org> CVSROOT: /cvs/src Module name: src Changes by: brolley@sourceware.org 2008-06-17 18:06:52 Modified files: sid/component/cgen-cpu/xstormy16: ChangeLog xstormy16-cpu.h xstormy16.cxx xstormy16.h Log message: 2008-06-17 Dave Brolley * xstormy16.h (xstormy16_cpu_cgen): Now inherits from cgen_bi_endian_cpu. (h_pc_set_handler): New method of xstormy16_cpu_cgen. (h_gr_set_handler,init_change_logging,finish_change_logging) (log_pc_change,log_gr_change,restore_change) Likewise. (PC_UNCHANGED,PC_RESET,gr_changed,pc_changed,old_gr,old_h_pc): New members of xstormy16_cpu_cgen. (xstormy16_cpu): Now inherits only from xstormy16_cpu_cgen. * xstormy16.cxx (init_change_logging): New method of xstormy16_cpu_cgen. (finish_change_logging,log_pc_change,log_gr_change,restore_change): Likewise. * xstormy16-cpu.h: Regenerated. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/sid/component/cgen-cpu/xstormy16/ChangeLog.diff?cvsroot=src&r1=1.17&r2=1.18 http://sourceware.org/cgi-bin/cvsweb.cgi/src/sid/component/cgen-cpu/xstormy16/xstormy16-cpu.h.diff?cvsroot=src&r1=1.4&r2=1.5 http://sourceware.org/cgi-bin/cvsweb.cgi/src/sid/component/cgen-cpu/xstormy16/xstormy16.cxx.diff?cvsroot=src&r1=1.3&r2=1.4 http://sourceware.org/cgi-bin/cvsweb.cgi/src/sid/component/cgen-cpu/xstormy16/xstormy16.h.diff?cvsroot=src&r1=1.3&r2=1.4 From brolley@sourceware.org Tue Jun 17 18:08:00 2008 From: brolley@sourceware.org (brolley@sourceware.org) Date: Tue, 17 Jun 2008 18:08:00 -0000 Subject: src/sid/component/gdb ChangeLog gdb.cxx gdb.h ... Message-ID: <20080617180852.22423.qmail@sourceware.org> CVSROOT: /cvs/src Module name: src Changes by: brolley@sourceware.org 2008-06-17 18:08:52 Modified files: sid/component/gdb: ChangeLog gdb.cxx gdb.h gdbserv-state.c gdbserv-target.h Log message: 2008-06-17 Dave Brolley * gdbserv-target.h (set_exec_direction): New member of gdbserv_target. * gdbserv-state.c (gdbserv_data_packet): Initialize exec_direction. Check for a 'b' prefix for the S, s, C, and c packets. Call gdbserv->target->set_exec_direction. * gdb.h (set_exec_direction): New function prototype. * gdb.cxx (set_exec_direction_hook): New function. (gdbsid_target_attach): Set gdbtarget->set_exec_direction. (set_exec_direction): New function. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/sid/component/gdb/ChangeLog.diff?cvsroot=src&r1=1.21&r2=1.22 http://sourceware.org/cgi-bin/cvsweb.cgi/src/sid/component/gdb/gdb.cxx.diff?cvsroot=src&r1=1.17&r2=1.18 http://sourceware.org/cgi-bin/cvsweb.cgi/src/sid/component/gdb/gdb.h.diff?cvsroot=src&r1=1.11&r2=1.12 http://sourceware.org/cgi-bin/cvsweb.cgi/src/sid/component/gdb/gdbserv-state.c.diff?cvsroot=src&r1=1.3&r2=1.4 http://sourceware.org/cgi-bin/cvsweb.cgi/src/sid/component/gdb/gdbserv-target.h.diff?cvsroot=src&r1=1.2&r2=1.3 From brolley@sourceware.org Tue Jun 17 18:09:00 2008 From: brolley@sourceware.org (brolley@sourceware.org) Date: Tue, 17 Jun 2008 18:09:00 -0000 Subject: src/sid/component/memory ChangeLog generic.cxx ... Message-ID: <20080617180926.22707.qmail@sourceware.org> CVSROOT: /cvs/src Module name: src Changes by: brolley@sourceware.org 2008-06-17 18:09:26 Modified files: sid/component/memory: ChangeLog generic.cxx generic.h Log message: 2008-06-17 Dave Brolley * generic.h: Remove 'using sidutil::no_relation_component'. Add 'using sidutil::fixed_relation_map_component'. (generic_memory): New inherits from reversible_component and fixed_relation_map_component. Now inherits virtually from fixed_pin_map_component and fixed_attribute_map_component. (sched): New member of generic_memory. (change_log): Likewise. (record_update): New method of generic_memory. (restore_state_to_time): Likewise. (generic_read_write_bus::write_any): call record_update if this memory is reversible. * generic.cxx (generic_memory): Initialize sched and change_log. Add sim-sched relation. (record_update): New method of generic_memory. (restore_state_to_time): Likewise. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/sid/component/memory/ChangeLog.diff?cvsroot=src&r1=1.14&r2=1.15 http://sourceware.org/cgi-bin/cvsweb.cgi/src/sid/component/memory/generic.cxx.diff?cvsroot=src&r1=1.9&r2=1.10 http://sourceware.org/cgi-bin/cvsweb.cgi/src/sid/component/memory/generic.h.diff?cvsroot=src&r1=1.6&r2=1.7 From brolley@sourceware.org Tue Jun 17 18:10:00 2008 From: brolley@sourceware.org (brolley@sourceware.org) Date: Tue, 17 Jun 2008 18:10:00 -0000 Subject: src/sid/component/sched ChangeLog compSched.cxx Message-ID: <20080617181029.24788.qmail@sourceware.org> CVSROOT: /cvs/src Module name: src Changes by: brolley@sourceware.org 2008-06-17 18:10:29 Modified files: sid/component/sched: ChangeLog compSched.cxx Log message: 2008-06-17 Dave Brolley * compSched.cxx (deliver_regular): Drive rnext->when. (deliver_irregular): Drive irnext->when. (advancy_any): Check yield_step_loop_p. (cancel_all): New method of generic_scheduler. (time_set_pin): New member of scheduler_component. (scheduler_component::set_time): Call set_now with 'then - 1'. Call sched.cancel_all. Drive time_set_pin. (scheduler_component_ctor_1): Add time-set pin. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/sid/component/sched/ChangeLog.diff?cvsroot=src&r1=1.20&r2=1.21 http://sourceware.org/cgi-bin/cvsweb.cgi/src/sid/component/sched/compSched.cxx.diff?cvsroot=src&r1=1.14&r2=1.15 From brolley@sourceware.org Tue Jun 17 18:11:00 2008 From: brolley@sourceware.org (brolley@sourceware.org) Date: Tue, 17 Jun 2008 18:11:00 -0000 Subject: src/sid/main/dynamic ChangeLog commonCfg.cxx c ... Message-ID: <20080617181151.26505.qmail@sourceware.org> CVSROOT: /cvs/src Module name: src Changes by: brolley@sourceware.org 2008-06-17 18:11:51 Modified files: sid/main/dynamic: ChangeLog commonCfg.cxx commonCfg.h mainDynamic.cxx Log message: 2008-06-17 Dave Brolley * mainDynamic.cxx (usage): Document --reversible. (try_add_memory): Call sess->add_memory. (option_num): add opt_reversible. (long_options): Add "reversible". (main): Handle opt_reversible. * commonCfg.h (set_reversible): New method of SessionCfg. (add_memory): Likewise. (reversible_p): New member of SessionCfg. (memory): Likewise. * commonCfg.cxx (CpuCfg): Establish sim-sched relation. (SessionCfg): Initialize reversible_p. (SessionCfg::write_load): Set up all memory regions as reversible, if requested. (BoardCfg::write_config): Set up the cpu to be reversible, if requested. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/sid/main/dynamic/ChangeLog.diff?cvsroot=src&r1=1.44&r2=1.45 http://sourceware.org/cgi-bin/cvsweb.cgi/src/sid/main/dynamic/commonCfg.cxx.diff?cvsroot=src&r1=1.22&r2=1.23 http://sourceware.org/cgi-bin/cvsweb.cgi/src/sid/main/dynamic/commonCfg.h.diff?cvsroot=src&r1=1.12&r2=1.13 http://sourceware.org/cgi-bin/cvsweb.cgi/src/sid/main/dynamic/mainDynamic.cxx.diff?cvsroot=src&r1=1.11&r2=1.12 From brolley@sourceware.org Tue Jun 17 18:11:00 2008 From: brolley@sourceware.org (brolley@sourceware.org) Date: Tue, 17 Jun 2008 18:11:00 -0000 Subject: src/sid/include ChangeLog sidattrutil.h sidcpu ... Message-ID: <20080617181101.25002.qmail@sourceware.org> CVSROOT: /cvs/src Module name: src Changes by: brolley@sourceware.org 2008-06-17 18:11:01 Modified files: sid/include : ChangeLog sidattrutil.h sidcpuutil.h sidmiscutil.h Log message: 2008-06-17 Dave Brolley * sidmiscutil.h (change_log): New utility class. * sidcpuutil.h (basic_cpu): Now inherits from reversible_component. (step_pin_handler): Parameter now named 'tick'. Save the current tick. Handle exec_direction == "backward". Initialize change logging, if reversible. Finish change logging, if reversible. (step_backward): New method of basic_cpu. (reset_pin_handler): Terminte the current change log, if any. Set exec_direction to "forward". (change_log,change_log_begin,change_log_end,change_log_boundaries) (change_string,exec_direction,sim_sched,current_tick,last_tick): New members of basic_cpu. (init_change_logging,finish_change_logging,log_change) (restore_state_to_time): New virtual methods of basic_cpu. (basic_cpu): Initialize change_log, change_log_begin, change_log_end, change_log_boundaries, last_tick, exec_direction, and sim_sched. Add the exec-direction and sim-sched attributes. * sidattrutil.h (reversible_component): New mix-in class. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/sid/include/ChangeLog.diff?cvsroot=src&r1=1.69&r2=1.70 http://sourceware.org/cgi-bin/cvsweb.cgi/src/sid/include/sidattrutil.h.diff?cvsroot=src&r1=1.10&r2=1.11 http://sourceware.org/cgi-bin/cvsweb.cgi/src/sid/include/sidcpuutil.h.diff?cvsroot=src&r1=1.40&r2=1.41 http://sourceware.org/cgi-bin/cvsweb.cgi/src/sid/include/sidmiscutil.h.diff?cvsroot=src&r1=1.9&r2=1.10