1# DESCRIPTION: Verilator: GDB startup file with useful defines 2# 3# Copyright 2012-2021 by Wilson Snyder. This program is free software; you 4# can redistribute it and/or modify it under the terms of either the GNU 5# Lesser General Public License Version 3 or the Perl Artistic License 6# Version 2.0. 7# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0 8 9define pn 10 call AstNode::dumpGdb($arg0) 11end 12document pn 13 Verilator: Print single AstNode NODEP 14end 15 16define pnt 17 call AstNode::dumpTreeGdb($arg0) 18end 19document pnt 20 Verilator: Print AstNode NODEP's tree 21end 22 23define dtf 24 call AstNode::dumpTreeFileGdb($arg0, 0) 25end 26document dtf 27 Verilator: Dump AstNode tree to file 28end 29 30define watchedit 31 watch AstNode::s_editCntGbl==$arg0 32end 33document watchedit 34 Verilator: Create watch on where a edit number is made 35end 36