mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 10:08:56 +01:00 
			
		
		
		
	This includes support for gobject pointer pretty printing and signal frame compression in backtraces. https://bugzilla.gnome.org/show_bug.cgi?id=595619
		
			
				
	
	
		
			11 lines
		
	
	
		
			192 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			192 B
		
	
	
	
		
			Python
		
	
	
	
	
	
import sys
 | 
						|
import gdb
 | 
						|
 | 
						|
# Update module path.
 | 
						|
dir = '@datadir@/glib-2.0/gdb'
 | 
						|
if not dir in sys.path:
 | 
						|
    sys.path.insert(0, dir)
 | 
						|
 | 
						|
from gobject import register
 | 
						|
register (gdb.current_objfile ())
 |