Changes between Version 7 and Version 8 of Tools/Gdb Server
- Timestamp:
- Nov 20, 2008, 8:52:16 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tools/Gdb Server
v7 v8 28 28 {{{ 29 29 // Without GdbServer 30 // soclib::caba:: IssWrapper<soclib::common::MipsElIss> cpu0("cpu0", 0);30 // soclib::caba::VciXcacheWrapper<soclib::common::Mips32ElIss> cpu0("cpu0", 0, maptab, IntTab(0), 1,8,4, 1,8,4); 31 31 // With GdbServer 32 soclib::caba:: IssWrapper<soclib::common::GdbServer<soclib::common::MipsElIss> > cpu0("cpu0", 0);32 soclib::caba::VciXcacheWrapper<soclib::common::GdbServer<soclib::common::Mips32ElIss> > cpu0("cpu0", 0, maptab, IntTab(0), 1,8,4, 1,8,4); 33 33 }}} 34 34 35 35 Then define the cpu as frozen directly at the boot: 36 36 {{{ 37 soclib::common::GdbServer<soclib::common::Mips ElIss>::start_frozen();37 soclib::common::GdbServer<soclib::common::Mips32ElIss>::start_frozen(); 38 38 }}} 39 39 … … 41 41 42 42 {{{ 43 Uses('iss_wrapper', iss_t = 'common:gdb_iss', gdb_iss_t = 'common:mips el'),43 Uses('iss_wrapper', iss_t = 'common:gdb_iss', gdb_iss_t = 'common:mips32el'), 44 44 }}} 45 45 46 ==== Iss2 and XCacheWrapper example ==== 47 For using the !GdbServer with the new Iss2 and XCacheWrapper models, the platform description file should contain: 46 ==== Iss v1 and XCacheWrapper example ==== 47 48 For using the !GdbServer with the legacy Iss v1 simulators (like mipsel) models, the platform description file should contain: 48 49 {{{ 49 Uses('vci_xcache_wrapper', iss_t = 'common: ississ2', iss2_t = 'common:gdb_iss', gdb_iss_t = 'common:mipsel'),50 Uses('vci_xcache_wrapper', iss_t = 'common:gdb_iss', gdb_iss_t = 'common:ississ2', iss2_t = 'common:mipsel'), 50 51 }}} 51 52 52 53 The topcell description (top.cpp) should contain: 53 54 {{{ 54 soclib::caba::VciXcacheWrapper< vci_param, soclib::common::IssIss2<soclib::common::GdbServer<soclib::common::MipsElIss> > > cache0("cache0", 0, maptab, IntTab(0), 1,8,4, 1,8,4);55 soclib::caba::VciXcacheWrapper<soclib::common::GdbServer<vci_param, soclib::common::IssIss2<soclib::common::MipsElIss> > > cache0("cache0", 0, maptab, IntTab(0), 1,8,4, 1,8,4); 55 56 }}} 56 57