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


Ignore:
Timestamp:
Oct 21, 2008, 11:24:28 AM (16 years ago)
Author:
Joel Porquet
Comment:

Added a part on Iss2+Xcachewrapper, and highlighted the part concerning gdb remote connection

Legend:

Unmodified
Added
Removed
Modified
  • Tools/Gdb Server

    v6 v7  
    3333}}}
    3434
    35 Do not forget to update the platform description file:
     35Then define the cpu as frozen directly at the boot:
     36{{{
     37soclib::common::GdbServer<soclib::common::MipsElIss>::start_frozen();
     38}}}
     39
     40Finally do not forget to update the platform description file:
    3641
    3742{{{
    3843Uses('iss_wrapper', iss_t = 'common:gdb_iss', gdb_iss_t = 'common:mipsel'),
     44}}}
     45
     46==== Iss2 and XCacheWrapper example ====
     47For using the !GdbServer with the new Iss2 and XCacheWrapper models, the platform description file should contain:
     48{{{
     49Uses('vci_xcache_wrapper', iss_t = 'common:ississ2', iss2_t = 'common:gdb_iss', gdb_iss_t = 'common:mipsel'),
     50}}}
     51
     52The topcell description (top.cpp) should contain:
     53{{{
     54soclib::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);
    3955}}}
    4056
     
    4864
    4965Its easy to connect to the simulation with a suitable gdb client:
    50 
     66 * First launch the gdb client
    5167{{{
    5268$ mipsel-unknown-elf-gdb mutekh/kernel-soclib-mips.out
    5369GNU gdb 6.7
    5470Copyright (C) 2007 Free Software Foundation, Inc.
     71}}}
     72 * Then enter this first command at the prompt
     73{{{
    5574(gdb) target remote localhost:2346
    5675Remote debugging using localhost:2346