diff --git a/NEWS b/NEWS index cfe319a9919..bff8b8964ea 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,10 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? ????, PHP 8.4.0RC1 +- Debugging: + . Fixed bug GH-15923 (GDB: Python Exception : + exceptions must derive from BaseException). (nielsdos) + - DOM: . Fix XML serializer errata: xmlns="" serialization should be allowed. (nielsdos) diff --git a/main/debug_gdb_scripts.c b/main/debug_gdb_scripts.c index ad03a2c2ba6..de7d0c5c92d 100644 --- a/main/debug_gdb_scripts.c +++ b/main/debug_gdb_scripts.c @@ -971,7 +971,7 @@ asm( ".ascii \"\\n\"\n" ".ascii \" (symbol,_) = gdb.lookup_symbol(\\\"zend_gc_refcount\\\")\\n\"\n" ".ascii \" if symbol == None:\\n\"\n" - ".ascii \" raise \\\"Could not find zend_types.h: symbol zend_gc_refcount not found\\\"\\n\"\n" + ".ascii \" raise Exception(\\\"Could not find zend_types.h: symbol zend_gc_refcount not found\\\")\\n\"\n" ".ascii \" filename = symbol.symtab.fullname()\\n\"\n" ".ascii \"\\n\"\n" ".ascii \" bits = {}\\n\"\n" diff --git a/scripts/gdb/php_gdb.py b/scripts/gdb/php_gdb.py index d4db7608126..7fef2ad1f49 100644 --- a/scripts/gdb/php_gdb.py +++ b/scripts/gdb/php_gdb.py @@ -301,7 +301,7 @@ def load_type_bits(): (symbol,_) = gdb.lookup_symbol("zend_gc_refcount") if symbol == None: - raise "Could not find zend_types.h: symbol zend_gc_refcount not found" + raise Exception("Could not find zend_types.h: symbol zend_gc_refcount not found") filename = symbol.symtab.fullname() bits = {}