X-Git-Url: http://gitweb.hachti.de/?a=blobdiff_plain;f=pc-tools%2Fldc2%2Fsrc%2Fconfig.cpp;h=b5d3cdec94c4b9f772401678356ff2586bdf2b91;hb=HEAD;hp=337fe2b29da01adad5a2b10a67814900f3555b14;hpb=4741aa72fcdfe52497013c7cbbeaa0bde9be3564;p=h316.git diff --git a/pc-tools/ldc2/src/config.cpp b/pc-tools/ldc2/src/config.cpp index 337fe2b..b5d3cde 100644 --- a/pc-tools/ldc2/src/config.cpp +++ b/pc-tools/ldc2/src/config.cpp @@ -2,11 +2,20 @@ * * LDC2 source code * - * $Date: 2007/03/26 01:00:38 $ + * $Date: 2008/10/01 13:30:14 $ * $Author: hachti $ * * $Log: config.cpp,v $ - * Revision 2.0 2007/03/26 01:00:38 hachti + * Revision 2.3 2008/10/01 13:30:14 hachti + * Added some includes + * + * Revision 2.2 2008-08-25 21:02:24 hachti + * *** empty log message *** + * + * Revision 2.1 2007-12-23 15:25:11 hachti + * *** empty log message *** + * + * Revision 2.0 2007-03-26 01:00:38 hachti * *** empty log message *** * * @@ -21,9 +30,11 @@ #include #include +#include #include #include #include +#include #include "configuration_manager.hh" #include "tool.hh" @@ -51,6 +62,7 @@ int cfg_ignore_object_integrity_errors=0; int cfg_list_contents=1; int cfg_verbose=0; int cfg_quiet=0; +int cfg_dump_block_contents=0; int cfg_version=0; @@ -75,6 +87,10 @@ void do_config(int argc, char ** args){ "Print all called symbols from the object(s).", &cfg_output_called,true,true); + ar.add_option_switch("d","dump_block_contents", + "Dump block contents", + &cfg_dump_block_contents,true,true); + ar.add_option_switch("e","output_exported", "Print all exported symbols from the object(s).", &cfg_output_exported,true,true);