verilator/src/.gdbinit
2023-01-01 10:18:39 -05:00

36 lines
824 B
Plaintext

# DESCRIPTION: Verilator: GDB startup file with useful defines
#
# Copyright 2012-2023 by Wilson Snyder. This program is free software; you
# can redistribute it and/or modify it under the terms of either the GNU
# Lesser General Public License Version 3 or the Perl Artistic License
# Version 2.0.
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
define pn
call AstNode::dumpGdb($arg0)
end
document pn
Verilator: Print single AstNode NODEP
end
define pnt
call AstNode::dumpTreeGdb($arg0)
end
document pnt
Verilator: Print AstNode NODEP's tree
end
define dtf
call AstNode::dumpTreeFileGdb($arg0, 0)
end
document dtf
Verilator: Dump AstNode tree to file
end
define watchedit
watch *(AstNode::s_editCntGbl)==$arg0
end
document watchedit
Verilator: Create watch on where an edit number is made
end