Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion main/debug_gdb_scripts.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion scripts/gdb/php_gdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down
Loading