File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
scripts/pretty-printers/gdb Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,7 @@ def load_cbmc_printers():
54
54
55
55
# First argument is the name of the pretty-printer, second is a regex match for which type
56
56
# it should be applied too, third is the class that should be called to pretty-print that type.
57
- printers .add_printer ('irep_idt' , '^irep_idt' , DStringPrettyPrinter )
58
- printers .add_printer ('dstringt' , '^dstringt' , DStringPrettyPrinter )
57
+ printers .add_printer ('dstringt' , '^(?:dstringt|irep_idt)' , DStringPrettyPrinter )
59
58
printers .add_printer ('instructiont' , '^goto_programt::instructiont' , InstructionPrettyPrinter )
60
59
# We aren't associating with a particular object file, so pass in None instead of gdb.current_objfile()
61
60
gdb .printing .register_pretty_printer (None , printers , replace = True )
You can’t perform that action at this time.
0 commit comments