aboutsummaryrefslogtreecommitdiff
path: root/gold/incremental.cc
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2011-07-06 21:22:55 +0000
committerCary Coutant <ccoutant@google.com>2011-07-06 21:22:55 +0000
commit8f7c81e876e2ad9bc051681dba536919c8851f9d (patch)
tree7bbfdfc8b193d78027e583df9f09924e261bb8f5 /gold/incremental.cc
parent9fbd3822ad34dced1ec88410f3f1b447d30e6435 (diff)
downloadgdb-8f7c81e876e2ad9bc051681dba536919c8851f9d.zip
gdb-8f7c81e876e2ad9bc051681dba536919c8851f9d.tar.gz
gdb-8f7c81e876e2ad9bc051681dba536919c8851f9d.tar.bz2
* incremental.cc (Sized_incremental_binary::do_check_inputs): Add
debug output when command lines differ.
Diffstat (limited to 'gold/incremental.cc')
-rw-r--r--gold/incremental.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gold/incremental.cc b/gold/incremental.cc
index f0be7f0..3dffbd3 100644
--- a/gold/incremental.cc
+++ b/gold/incremental.cc
@@ -393,6 +393,12 @@ Sized_incremental_binary<size, big_endian>::do_check_inputs(
if (incremental_inputs->command_line() != inputs.command_line())
{
+ gold_debug(DEBUG_INCREMENTAL,
+ "old command line: %s",
+ inputs.command_line());
+ gold_debug(DEBUG_INCREMENTAL,
+ "new command line: %s",
+ incremental_inputs->command_line().c_str());
explain_no_incremental(_("command line changed"));
return false;
}