GDB: Import gdb.printing

gdb.printing is not imported by default since version 16, for some reason
This commit is contained in:
Arnaud Le Blanc 2025-03-25 11:51:49 +01:00
parent 26f5009e91
commit 9b96ea1a99
No known key found for this signature in database
GPG key ID: 0098C05DD15ABC13
2 changed files with 2 additions and 0 deletions

View file

@ -698,6 +698,7 @@ asm(
".ascii \"\\\"\\\"\\\"\\n\"\n"
".ascii \"\\n\"\n"
".ascii \"import gdb\\n\"\n"
".ascii \"import gdb.printing\\n\"\n"
".ascii \"import re\\n\"\n"
".ascii \"\\n\"\n"
".ascii \"pp_set = gdb.printing.RegexpCollectionPrettyPrinter(\\\"php\\\")\\n\"\n"