Fix GDB watchedit
This commit is contained in:
parent
bad4110b03
commit
be42dc906c
|
|
@ -28,7 +28,7 @@ document dtf
|
|||
end
|
||||
|
||||
define watchedit
|
||||
watch AstNode::s_editCntGbl==$arg0
|
||||
watch *(AstNode::s_editCntGbl)==$arg0
|
||||
end
|
||||
document watchedit
|
||||
Verilator: Create watch on where an edit number is made
|
||||
|
|
|
|||
|
|
@ -106,10 +106,11 @@ public:
|
|||
// may be varp() and other cross links that are bad.
|
||||
// When get this message, find what forgot to delete the
|
||||
// node by running GDB, where for node "<e###>" use:
|
||||
// watch AstNode::s_editCntGbl==####
|
||||
// watch *(AstNode::s_editCntGbl)==####
|
||||
// run
|
||||
// bt
|
||||
std::cerr << "%Error: LeakedNode" << (withBack ? "with back pointer: " : ": ");
|
||||
std::cerr << "%Error: LeakedNode"
|
||||
<< (withBack ? " with back pointer: " : ": ");
|
||||
nodep->AstNode::dump(std::cerr);
|
||||
std::cerr << endl;
|
||||
V3Error::incErrors();
|
||||
|
|
|
|||
Loading…
Reference in New Issue