verilator/src/.gdbinit

36 lines
824 B
Plaintext
Raw Normal View History

2012-03-03 01:59:47 +00:00
# DESCRIPTION: Verilator: GDB startup file with useful defines
#
2023-01-01 15:18:39 +00:00
# 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
2012-03-03 01:59:47 +00:00
# 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
2012-03-03 01:59:47 +00:00
define pn
call AstNode::dumpGdb($arg0)
2012-03-03 01:59:47 +00:00
end
document pn
Verilator: Print single AstNode NODEP
end
define pnt
call AstNode::dumpTreeGdb($arg0)
2012-03-03 01:59:47 +00:00
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
2022-12-29 18:58:19 +00:00
watch *(AstNode::s_editCntGbl)==$arg0
end
document watchedit
2022-12-10 02:06:27 +00:00
Verilator: Create watch on where an edit number is made
end