From: Julian Seward Date: Thu, 30 Oct 2008 13:26:29 +0000 (+0000) Subject: Get rid of longstanding and now pointless restriction that disallowed X-Git-Tag: svn/VALGRIND_3_4_0~172 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07ac95b348bdbea9e1d7a210de6a50a07ee0ceac;p=thirdparty%2Fvalgrind.git Get rid of longstanding and now pointless restriction that disallowed using --db-attach=yes and --trace-children=yes together. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8722 --- diff --git a/coregrind/m_main.c b/coregrind/m_main.c index 9a16050fdb..adf0be836b 100644 --- a/coregrind/m_main.c +++ b/coregrind/m_main.c @@ -563,15 +563,6 @@ static Bool main_process_cmd_line_options( UInt* client_auxv, if (VG_(clo_verbosity) < 0) VG_(clo_verbosity) = 0; - if (VG_(clo_db_attach) && VG_(clo_trace_children)) { - VG_(message)(Vg_UserMsg, ""); - VG_(message)(Vg_UserMsg, - "--db-attach=yes conflicts with --trace-children=yes"); - VG_(message)(Vg_UserMsg, - "Please choose one or the other, but not both."); - VG_(err_bad_option)("--db-attach=yes and --trace-children=yes"); - } - if (VG_(clo_gen_suppressions) > 0 && !VG_(needs).core_errors && !VG_(needs).tool_errors) { VG_(message)(Vg_UserMsg, diff --git a/docs/xml/manual-core.xml b/docs/xml/manual-core.xml index 285512034c..7d556fc7f7 100644 --- a/docs/xml/manual-core.xml +++ b/docs/xml/manual-core.xml @@ -950,18 +950,6 @@ that can report errors, e.g. Memcheck, but not Cachegrind. C Ret or c Ret causes Valgrind not to start a debugger, and not to ask again. - - Note: - conflicts with . You can't - use them together. Valgrind refuses to start up in this - situation. - - May 2002: this is a historical relic which could be easily - fixed if it gets in your way. Mail us and complain if this is a - problem for you. - Nov 2002: if you're sending output to a logfile or to a - network socket, I guess this option doesn't make any sense. - Caveat emptor.