diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-12-01 20:24:47 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-12-01 20:24:47 +0000 |
commit | 6517cde9f4cbf76e47b9fa96cc1abfffac44a0d4 (patch) | |
tree | 8ede8e3fc7189f13596a9235f2a67311a70c32e0 /covoar/SymbolTable.h | |
parent | 2011-12-01 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-testing-6517cde9f4cbf76e47b9fa96cc1abfffac44a0d4.tar.bz2 |
2011-11-06 Pawel Zagorski <pzagor@agh.edu.pl>
* DesiredSymbols.cc, ExecutableInfo.cc, SymbolTable.cc, covoar.cc:
Added methods dumpExecutableInfo( void ) and dumpSymbolTable( void )
that can dump cointainers to stdout for debug purposes. Covoar now
accepts aditional command line argument -g GCNOS_LIST with list of
xxx.gcno files. If non-empty list is provided gcov outputs will be
craeated based on each file in the list.
Diffstat (limited to 'covoar/SymbolTable.h')
-rw-r--r-- | covoar/SymbolTable.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/covoar/SymbolTable.h b/covoar/SymbolTable.h index 792731a..3532133 100644 --- a/covoar/SymbolTable.h +++ b/covoar/SymbolTable.h @@ -37,6 +37,7 @@ namespace Coverage { } symbolInfo_t; typedef std::list< symbolInfo_t > symbolInfo; + typedef std::list< symbolInfo_t >::iterator symbolInfoIterator_t; @@ -98,6 +99,12 @@ namespace Coverage { uint32_t address ); + /*! + * This method prints SymbolTable content to stdout + * + */ + void dumpSymbolTable( void ); + private: /*! @@ -117,6 +124,7 @@ namespace Coverage { * the symbol's information. */ typedef std::map<std::string, symbolInfo> info_t; + typedef std::map<std::string, symbolInfo>::iterator infoIterator_t; info_t info; }; |