Changes between Version 7 and Version 8 of Tools/Gdb Server


Ignore:
Timestamp:
Nov 20, 2008, 8:52:16 AM (15 years ago)
Author:
Nicolas Pouillon
Comment:

Bump doc to Iss v2

Legend:

Unmodified
Added
Removed
Modified
  • Tools/Gdb Server

    v7 v8  
    2828{{{
    2929   // 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);
    3131   // 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);
    3333}}}
    3434
    3535Then define the cpu as frozen directly at the boot:
    3636{{{
    37 soclib::common::GdbServer<soclib::common::MipsElIss>::start_frozen();
     37soclib::common::GdbServer<soclib::common::Mips32ElIss>::start_frozen();
    3838}}}
    3939
     
    4141
    4242{{{
    43 Uses('iss_wrapper', iss_t = 'common:gdb_iss', gdb_iss_t = 'common:mipsel'),
     43Uses('iss_wrapper', iss_t = 'common:gdb_iss', gdb_iss_t = 'common:mips32el'),
    4444}}}
    4545
    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
     48For using the !GdbServer with the legacy Iss v1 simulators (like mipsel) models, the platform description file should contain:
    4849{{{
    49 Uses('vci_xcache_wrapper', iss_t = 'common:ississ2', iss2_t = 'common:gdb_iss', gdb_iss_t = 'common:mipsel'),
     50Uses('vci_xcache_wrapper', iss_t = 'common:gdb_iss', gdb_iss_t = 'common:ississ2', iss2_t = 'common:mipsel'),
    5051}}}
    5152
    5253The topcell description (top.cpp) should contain:
    5354{{{
    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);
     55soclib::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);
    5556}}}
    5657