mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
GDB: Import gdb.printing
gdb.printing is not imported by default since version 16, for some reason
This commit is contained in:
parent
26f5009e91
commit
9b96ea1a99
2 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
|
|
@ -28,6 +28,7 @@ Then you can interact with that variable:
|
|||
"""
|
||||
|
||||
import gdb
|
||||
import gdb.printing
|
||||
import re
|
||||
|
||||
pp_set = gdb.printing.RegexpCollectionPrettyPrinter("php")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue