Skip to content

Instantly share code, notes, and snippets.

@pamaury
Created March 5, 2015 21:01
Show Gist options
  • Save pamaury/af1e721e8d80687c002d to your computer and use it in GitHub Desktop.
Save pamaury/af1e721e8d80687c002d to your computer and use it in GitHub Desktop.
diff --git a/utils/regtools/qeditor/backend.cpp b/utils/regtools/qeditor/backend.cpp
index 1dcbbd1..e61314f 100644
--- a/utils/regtools/qeditor/backend.cpp
+++ b/utils/regtools/qeditor/backend.cpp
@@ -617,12 +617,14 @@ bool BackendHelper::DumpAllRegisters(BackendHelper *bh, const soc_desc::node_ins
soc_word_t val;
if(!ReadRegister(inst, val))
{
+ qDebug() << "cannot read reg " << QString::fromStdString(inst.get()->name);
ret = false;
if(!ignore_errors)
return false;
}
else if(!bh->WriteRegister(inst, val))
{
+ qDebug() << "cannot write reg " << QString::fromStdString(inst.get()->name);
ret = false;
if(!ignore_errors)
return false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment